Better GitHub Navigation

Add quick access to Dashboard, Trending, Explore, Collections, and Stars from GitHub's top navigation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
ImXiangYu
今日安裝
2
安裝總數
2
評價
0 0 0
版本
0.1.19
建立日期
2026-02-24
更新日期
2026-02-24
尺寸
17.2 KB
授權條款
MIT
腳本執行於

Better GitHub Navigation

中文说明

better-github-nav 是一个 Tampermonkey 用户脚本,用于在 GitHub 顶部导航中补齐常用入口,减少来回跳转。

基本作用

  • 在顶部导航中加入:DashboardTrendingExploreCollectionsStars
  • 自动识别当前页面并高亮对应按钮
  • 在仓库页按更直观顺序展示:用户名 / 仓库名 / 快捷入口...
  • 兼容 GitHub 的 Turbo/PJAX 跳转,切页后按钮不会丢失

安装

  1. 安装浏览器扩展:Tampermonkey
  2. 打开并安装脚本: https://raw.githubusercontent.com/ImXiangYu/better-github-nav/main/better-github-nav.user.js

适用范围

English

better-github-nav is a Tampermonkey userscript that adds common shortcuts to GitHub's top navigation, so you can move around faster.

What It Does

  • Adds Dashboard, Trending, Explore, Collections, and Stars to the top nav
  • Highlights the active item based on the current page
  • Keeps a natural order on repository pages: owner / repo / shortcuts...
  • Works with GitHub Turbo/PJAX navigation so buttons persist after page transitions

Installation

  1. Install the Tampermonkey browser extension
  2. Install the script from: https://raw.githubusercontent.com/ImXiangYu/better-github-nav/main/better-github-nav.user.js

Scope