Greasy Fork is available in English.

Gist URL Copier

Adds new buttons to Github Gist files | "URL" - Copies the direct file URL | "UserScript" - Copies the formatted URL (@downloadURL and @updateURL) for use in your UserScripts.

ผู้เขียน
OHAS
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
0
คะแนน
0 0 0
เวอร์ชัน
1.0
สร้างเมื่อ
19-09-2025
อัปเดตเมื่อ
19-09-2025
Size
7.63 กิโลไบต์
สัญญาอนุญาต
MIT
ปรับใช้กับ

Gist URL Copier enhances the GitHub Gist interface by adding two utility buttons to each file, making it easier for developers and users to copy important URLs.

Main Features

The script adds two new buttons to the action bar of each file in a Gist:

  1. URL Button:

    • Action: Copies the direct and permanent URL to the raw content (raw) of the file.
    • Technical Detail: The script intelligently grabs the "Raw" link of the Gist, removes the specific commit hash from the URL, and replaces it with the gist.githubusercontent.com domain. This ensures that the copied URL always points to the latest version of the file rather than a specific revision.
    • Example of copied URL: https://gist.githubusercontent.com/USER/GIST_ID/raw/filename.js
  2. UserScript Button:


In short, this script is a productivity tool that saves time and simplifies workflow for anyone using GitHub Gists, especially for coding and sharing UserScripts.