GitHub Plus

Enhance GitHub with additional features.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
PRO-2684
今日安裝
2
安裝總數
1,576
評價
2 0 1
版本
0.4.0
建立日期
2024-09-29
更新日期
2026-01-14
尺寸
34.7 KB
授權條款
GPL-3.0
腳本執行於

Greasy Fork

If you encounter issues reading Greasy Fork's README, please visit the README on GitHub for a better experience.

🪄 Features

  • No use of MutationObserver or setInterval, purely event-driven, making it more efficient than scripts of similar functionality
  • No dangerous monkey patching, ensuring compatibility
  • Experimental support for all GitHub mirrors
    • You need to add the mirror site to this script's User matches list
    • Dashboard - Installed Userscripts - GitHub Plus - Settings - Includes/Excludes - User matches - Add...

⚙️ Configuration

  • 🔢 Code Features
    • ➡️ Tab Size: Set Tab indentation size.
    • 😉 Cursor Blink: Enable cursor blinking.
    • 🌊 Cursor Animation: Make cursor move smoothly.
  • 🎨 Appearance
    • 📰 Dashboard: Configures the dashboard. (Default, Hide Copilot, Hide Feed, Mobile-Like)
    • ↖️ Left Sidebar: Configures the left sidebar. (Default, Hidden)
    • ↗️ Right Sidebar: Configures the right sidebar. (Default, Hide 'Latest changes', Hide 'Explore repositories', Hide Completely)
    • 📌 Sticky Avatar: Make the avatar sticky. (Experimental, does not work for all avatars)
  • 📦 Release Features
    • ⬆️ Release Uploader: Show uploader of release assets.
      • Shows a user hover card on hover if the uploader is a user.
      • Colored as green if the uploader is a GitHub App.
    • 📥 Release Downloads: Show download counts of release assets.
    • 📊 Release Histogram: Show a histogram of download counts for each release asset.
      • Does not show up if there is only zero or one release asset.
      • Does not show up if none of the release assets have been downloaded.
    • 🫥 Hide Archives: Hide source code archives (zip, tar.gz) in the release assets. (Experimental)
  • 🔍 Extended Search
    • 🚀 Go To: Add items for going to repositories, issues etc. in search suggestions, like:
      • @owner: go to owner's profile
      • /repo: go to repository of current owner (if any)
      • owner/repo: go to repository
      • @owner/repo#123: go to issue/PR number 123 in the repository
      • #123: go to issue/PR number 123 in the current repository (if any)
  • 🪄 Additional Features
    • 🎭 Tracking Prevention: Prevents some tracking by GitHub.
  • ⚙️ Advanced Settings
    • 🔑 Personal Access Token: Your personal access token for GitHub API, starting with github_pat_ (used for increasing rate limit). For more information, see the Personal Access Token (PAT) section.
    • 📈 Rate Limit: View the current rate limit status.
    • 🐞 Debug: Enable debug mode.

🖼️ Showcases

Example "Assets" section Following example release "Assets" section has `Release Downloads`, `Release Uploader` and `Release Histogram` enabled. [microsoft/[email protected]](https://github.com/microsoft/terminal/releases/tag/v1.22.2702.0): ![microsoft/[email protected]](./images/assets-1.jpg) [PRO-2684/[email protected]](https://github.com/PRO-2684/GM_config/releases/tag/v1.2.1): ![PRO-2684/[email protected]](./images/assets-2.jpg)
Example Dashboard Example Dashboard, with `📰 Dashboard` set to `Mobile-Like`, `↖️ Left Sidebar` set to `Hidden` and `↗️ Right Sidebar` set to `Hide 'Latest changes'`. ![](./images/dashboard.jpg)
Go to Issue/PR from Search Suggestions Example of going to an issue from search suggestions by typing `#1` in the search box. ![](./images/go-to-issue.png)

🔑 Personal Access Token (PAT)

  • Without a PAT, only $60$ requests per hour are allowed; with a PAT, $5000$ requests per hour are allowed, which suffices for most users.
  • Find out how to create a fine-grained personal access token here.
  • Simply select Public Repositories (read-only) under Repository access tab, which is the default setup. An example image is shown below for reference.
  • Do note that this script won't be able to add additional information on private repositories.
  • Remember to generate a new token when it expires.
  • Use a personal access token on a mirror site at your own risk.
Example setup for personal access token ![](./images/token.jpeg)

🤔 Known Issues

  • The added information might not align well.
  • You might see a "Error Looks like something went wrong!" banner if "Tracking Prevention" is enabled.