Github Copy Raw File URL and Download File

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

As of 2024-09-08. See the latest version.

Author
人民的勤务员
Ratings
0 0 0
Version
2.2.0.18
Created
2024-08-27
Updated
2024-09-08
Size
14.8 KB
License
MIT
Applies to

GitHubDownload single files and copy filesURL

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

Views

Download:Github | ⭐Greasy Fork

Update record
  • 2024/8/28 05:09 - Ver: 2.2 Add 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

Snipaste_2024-08-28_05-14-50.png

GitHubRelated scripts

  • GitHubSubmit information displayHTML: This script will GitHub The submission information on HTML view,to see submission details more clearly。It will automatically submit the information list、The commit header and latest commit information are converted to HTML Format,Provide better visual effects and user experience。
  • GitHubfolder下载: Add a download button,Allows easy downloading of specific GitHub 文件夹。
  • GitHubDownload single files and copy filesURL: Add button at the end of each file line,to copy the original file URL and download files
  • githubShow warehouse size: existGithubShow warehouse size when viewing and searching warehouses
  • GitHub Sort by Date: Change the sorting method of warehouse list files to descending date order,Conveniently view the latest updated files。

Help

More user scripts / back to top↑