Better GitHub Navigation

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
ImXiangYu
Daily installs
2
Total installs
2
Ratings
0 0 0
Version
0.1.19
Created
2026-02-24
Updated
2026-02-24
Size
17.2 KB
License
MIT
Applies to

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