Get Real Download URL

Get the real download URL by right-clicking on a download link while holding the left Alt key.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
slyfox1186
日安装量
0
总安装量
48
评分
0 0 0
版本
1.0
创建于
2024-06-25
更新于
2024-06-25
大小
3.8 KB
许可证
MIT
适用于
所有网站

Get Real Download URL

Description

This Tampermonkey script allows users to get the real download URL of a link by right-clicking on it while holding down the left Alt key. When triggered, the script fetches the final URL that the link redirects to and copies it to the clipboard. A brief confirmation message will appear indicating whether the URL was successfully copied.

Features

  • Fetches the real download URL of a link.
  • Copies the real download URL to the clipboard.
  • Displays a brief confirmation message.
  • Only activates when the left Alt key is held down during the right-click.

How to Use

  1. Install Tampermonkey: Ensure you have the Tampermonkey extension installed in your browser.

  2. Add the Script:

    • Open Tampermonkey in your browser.
    • Click on the Tampermonkey icon and select "Dashboard".
    • Click on the "Add a new script" button.
    • Replace the default script with the provided script code.
  3. Use the Script:

    • Navigate to any webpage with a download link.
    • Hold down the left Alt key and right-click on the download link.
    • A small floating button "Get Real Download URL" will appear near your cursor.
    • Click on "Get Real Download URL" to fetch the real URL and copy it to the clipboard.
    • A brief confirmation message will appear at the bottom right corner of the page and disappear after 1 second, indicating whether the copying to the clipboard was successful.