Adds a configurable toolbar to the GitHub header with shortcuts to Repositories, Stars, Gists, and more.
目前為
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.
CONFIG sectionCONFIG.orderOpen 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
| Button | Shortcut | Destination |
|---|---|---|
| Profile | G + P | https://github.com/<user> |
| Repositories | G + R | https://github.com/<user>?tab=repositories |
| Projects | G + T | https://github.com/<user>?tab=projects |
| Packages | G + K | https://github.com/<user>?tab=packages |
| Stars | G + S | https://github.com/<user>?tab=stars |
| Gists | G + I | https://gist.github.com/<user> |
| Organizations | G + O | https://github.com/settings/organizations |
| Enterprises | G + E | https://github.com/settings/enterprises |
| Settings | G + C | https://github.com/settings/profile |