Zilmac Blog
← Back to Tech Practice

How to Install LinkSwift Tampermonkey Script: Chrome & Edge Setup for Cloud Drive Direct Download Links

Tools & productivity ·~8 min read

LinkSwift three-step install diagram: Tampermonkey, userscript install, cloud web download assistant

Cloud drive web downloads often stick you with the browser’s slow lane. LinkSwift (hmjz100/LinkSwift on GitHub) is a Tampermonkey userscript maintained from the classic “cloud direct-link helper”: while you are logged in on Baidu Netdisk, Aliyun Drive, Quark, Tianyi, China Mobile Cloud, Xunlei, UC, 123pan, and similar pages, it calls public APIs to fetch download URLs you can hand to IDM, Aria2, Motrix, or copy as plain links. This is a Chrome / Edge from-scratch guide—Tampermonkey first, then LinkSwift, then “light up” the helper on the drive site. No backend changes; everything runs locally in the browser.

LinkSwift cloud download helper showing light-up and download assistant buttons on a drive web page
After setup, supported drive sites show “tap to light up / download assistant”; Chrome and Edge steps follow.
9+
Common web drives (per script README)
2 steps
Tampermonkey + LinkSwift userscript
0
Server-side changes; browser-only

What LinkSwift is (not a “speed hack”)

LinkSwift uses JavaScript in the current tab to call each provider’s public web/API endpoints and produce time-limited download URLs for tools you already use. The official README states clearly: no promise to break speed limits; throughput depends on account tier, provider policy, and your network. Install only from channels the author lists—GitHub, Gitee, ScriptCat, etc.—not repacked “accelerator” bundles.

Use responsibly

Download only files you may access; links expire—fetch again; some drives require saving a share into your own drive before a link works.

Before you install

  • Chromium Chrome (≥76) or Edge (≥88), logged into the target drive in the browser.
  • Access to extension stores; if GitHub is slow, use the Gitee mirror of the same .user.js.
  • (Optional) IDM, Aria2, or Motrix on the machine that will receive the download.
MacBook and phone with browser open for Tampermonkey and LinkSwift cloud downloads
LinkSwift runs in the browser only—the same steps on a local PC or cloud Mac Chrome / Edge.

Chrome: install Tampermonkey

  1. Open the Chrome Web Store Tampermonkey listing, click “Add to Chrome”, and accept permissions.
  2. Confirm the monkey icon in the toolbar; open “Dashboard” and ensure the extension is on.
  3. If the store is blocked: on chrome://extensions enable Developer mode and install a trusted .crx offline (store build OR offline—not random clones).
Chrome Web Store page to install Tampermonkey userscript manager
On Chrome, prefer the official Tampermonkey listing—avoid fake “oil monkey” extensions.

Edge: install Tampermonkey

  1. Open Microsoft Edge Add-ons – Tampermonkey and click Get.
  2. On edge://extensions confirm Tampermonkey is enabled; some builds expose an “allow user scripts” toggle.
Microsoft Edge Add-ons store Tampermonkey installation screen
Edge mirrors Chrome’s flow; the same LinkSwift script installs through Tampermonkey on both.

Install the LinkSwift userscript

Pick a stable install URL (Tampermonkey should open an install tab):

Click Install in Tampermonkey’s dialog:

Tampermonkey confirmation dialog installing LinkSwift cloud direct-link helper
Verify name and version; if the browser shows raw JS, paste into Tampermonkey “Create new script” and save.

In Tampermonkey Dashboard, ensure LinkSwift is enabled:

Tampermonkey dashboard with LinkSwift userscript enabled
Disable or update here; re-open the .user.js URL when upgrading.

Light up the helper and get direct links

  1. Open a supported drive web site while logged in (e.g. pan.baidu.com).
  2. Click “tap to light up”; the control becomes “download assistant” (wording varies by drive).
  3. Select files, open the assistant, then choose get direct link, copy URL, or send to Aria2 / IDM.
Baidu Netdisk web UI with LinkSwift download assistant on file list
Light up first, then select files; folder support depends on drive + script version.
LinkSwift menu with direct link and download options
Links expire; retry on failure and confirm the file lives in your account.

Optional: IDM / Aria2

In assistant settings, set local Aria2 RPC or IDM listener values (menu label may be “assistant settings”). For IDM, copy the extension client id from extension details into the script config. Plain browser downloads from copied links still follow provider limits.

FAQ

No button on the drive page?

Enable Tampermonkey and LinkSwift, hard-refresh, check domain support, disable conflicting drive scripts.

Copied link fails?

Expired link, missing Referer/Cookie session, or file not saved to your drive—regenerate and use IDM/Aria2 as documented.

Same script on Edge and Chrome?

Yes—install Tampermonkey on each; LinkSwift URL is the same; settings stay per browser.

Relation to Zilmac cloud Mac?

No backend tie-in. Install the same way on a cloud Mac browser session; large files still land where your downloader runs.

Summary: Tampermonkey on Chrome or Edge → official LinkSwift .user.js → light up “download assistant” on the drive site → select files for direct links. Follow provider terms; deploying static sites needs no backend changes, same as LinkSwift itself.

Limited Offer

Zilmac

Cloud Mac, remote dev, and Mac VPS—Apple toolchain support for iOS and cross-platform teams.

Back to Home
Limited Offer View Plans