Github Copy Raw File URL and Download File

人民的勤务员
2024-08-27T21:20:14Z

Add buttons at the end of each file line to copy the raw file URL and download the file

简体中文 | English | 한국어 | Tiếng Việt | 繁體中文
👆️access GitHub Readme file on for a better experience。

GitHubView the serviceman’s scriptGithub:@ChinaGodMan
GreasyForkView the serviceman’s script
View the serviceman’s script on the current page

⭐If the script helps you,Can light up the stars to encourage⭐

Recommended use：

💡 Tip: The script manager and browser listed above do not represent all
The script runs normally in the following environment

Github Copy original file URL with download files

「 Add button at the end of each file line，to copy the original file URL and download files 」

Download:Github | ⭐Greasy Fork

Update records

🛠️ GitHubDownload single file and copy fileURL Update log

📅 2024/8/28 05:09 - Ver 2.2

New: Added download function。

Github Copy Raw File URL and Download File

Description

This userscript adds buttons at the end of each file line on GitHub to allow users to copy the raw file URL and download the file. The buttons include "Copy Raw File URL" and "Download File".

Features

Adds a "Copy Raw File URL" button at the end of each file line.

Adds a "Download File" button that triggers the download of the raw file.

The copy button copies the raw file URL to the clipboard.

The download button initiates the file download.

Installation Steps

1. Install the Tampermonkey extension.

2. Create a new script and paste the script code.

3. Save and enable the script.

Compatibility

Works on GitHub website.

License

MIT License

Support

For issues, visit the support page.

grateful

The script is modified from user Kamikaze’s script Button to copy the raw file URL | Github Thanks to the original The hard work and wisdom of the author Kamikaze