GitHub - Add Shortcuts To Page Header

Adds a configurable toolbar to the GitHub header with shortcuts to Repositories, Stars, Gists, and more.

As of 23. 10. 2025. See the latest version.

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!)

Autor
Vikindor
Ocene
0 0 0
Verzija
1.0.0
Napravljeno
23. 10. 2025
Ažurirano
23. 10. 2025
Size
12 КБ
Licenca
MIT
Važi za


GitHub - Add Shortcuts To Page Header

Userscript for browsers that adds a customizable shortcut bar to the GitHub and Gist page headers.
Places quick-access buttons (Profile, Repositories, Stars, Gists etc.) directly in the top navigation with tooltips and hotkey hints.

✨ Features

- Works on both **github.com** and **gist.github.com**
- Configurable set of header buttons in the `CONFIG` section
- Adjustable order via `CONFIG.order`
- Automatically restores after PJAX (SPA) navigations
- Tooltips display assigned keyboard shortcuts (for example **G + R**)
- Native GitHub styling and dark/light theme support

🔧 Configuration

Open the script in your userscript manager and adjust the config block at the top:

```
const CONFIG = {
profile: true,
repositories: true,
projects: true,
packages: true,
stars: true,
gists: true,
organizations: true,
enterprises: true,
settings: true,
order: ['profile','repositories','projects','packages','stars','gists','organizations','enterprises','settings'],
};
```

true / false — toggle visibility of each button

order — controls display order

📦 Available Buttons

| Button | Shortcut | Destination |
| Profile | G + P | https://github.com/ |
| Repositories | G + R | https://github.com/?tab=repositories |
| Projects | G + T | https://github.com/?tab=projects |
| Packages | G + K | https://github.com/?tab=packages |
| Stars | G + S | https://github.com/?tab=stars |
| Gists | G + I | https://gist.github.com/ |
| Organizations | G + O | https://github.com/settings/organizations |
| Enterprises | G + E | https://github.com/settings/enterprises |
| Settings | G + C | https://github.com/settings/profile |