Github 複製原始文件 URL 與下載文件

在每個文件行的末尾新增按鈕,以複製原始文件 URL 和下載文件

目前為 2024-09-08 提交的版本,檢視 最新版本

作者
人民的勤务员
評價
0 0 0
版本
2.2.0.18
建立日期
2024-08-27
更新日期
2024-09-08
尺寸
14.8 KB
授權條款
MIT
腳本執行於

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↑

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址