Refined GitHub EN
Sindre Sorhus · FFirefox
Simplifies the GitHub interface and adds many useful features.
截图
简介
We use GitHub a lot and notice many annoyances we'd like to fix. So here be dragons.
GitHub Enterprise is also supported. More info in the options.
The GITHUB and REFINED GITHUB trademarks are owned by GitHub, Inc. and used under license.
Visit the repository to see an up-to-date list of features and the release notes for each version. Please report bugs on the repo and sponsor the development if you can.
Repositories
- 🔥 Adds a build/CI status icon next to the repo’s name.
- Hides the
Projectstab from repositories and profiles when it’s empty.- New projects can still be created via the
Create new…menu.
- New projects can still be created via the
- Hides forks and watchers counters.
- Changes the default sort order of milestones
Closest due date. - Adds useful links to the repository navigation dropdown and moves the "Security" and "Insights" tabs to it as well.
- Adds a keyboard shortcut to star/unstar the current repo:
gs. - 🔥 Adds a link to the default branch on directory listings and files.
- Adds a link to swap branches in the branch compare view.
- Adds a shortcut to your forks next to the
Forkbutton on the current repo. - Displays the age of the repository in the sidebar.
- In your forked repos, shows number of your open PRs to the original repo.
- Adds a link to access the past runs of a GitHub Action workflow when seeing the workflow configuration file.
- Clone a branch from the branches list.
- Points the “Forked from user/repository” link to current folder or file in the upstream repository.
- Makes some buttons on repository lists more compact to make room for other features.
- Automatically disables projects and wikis when creating a repository.
- Makes conversation sidebars and repository sidebars sticky, if they fit the viewport.
- Adds a link to visit the user’s github.io website from its repo.
- Shows the next scheduled time of relevant GitHub Actions in the workflows sidebar.
- Lets you delete your repos in a click, if they have no stars, issues, or PRs.
- Helps you find the most active forks, via useful-forks.github.io.
File management
- Adds a button to download entire folders, via download-directory.github.io.
- Adds a button to toggle the repo file list.
- Adds a button to edit files from the repo file list.
- Ensures that the “Edit readme” button always appears (even when you have to make a fork) and works (GitHub’s link doesn’t work on git tags).
- Enables the File Finder keyboard shortcut (
t) on Issues and Pull Request pages as well. - Lets you start typing your search immediately after invoking the File Finder (
t), instead of having you wait for it to load first. - Shows the associated pull requests on branches for forked repositories.
- When editing Markdown files, it lets you hide the Markdown diff in the preview.
Code
- Enhances the
yhotkey to also copy the permalink. - Adds a button to view the source of Markdown files.
- Adds a button to copy a file’s content.
- Linkifies symbolic links files.
- Shows PRs that touch the current file.
- Reduces tabs’ size to 4 spaces instead of 8.
- Adds a keyboard shortcut to deselect the current line:
esc. - Adds a link to preview HTML files.
- Shows Markdown front matter as vertical table.
Writing comments
- 🔥 Enables
tabandshifttabfor indentation in comment fields. - Adds a button to submit a single PR comment if you mistakenly started a new review.
- Adds a button to insert collapsible content (via
<details>). - 🔥 Auto-resizes comment fields to fit their content and no longer show scroll bars.
- Lets you edit any comment with one click instead of having to open a dropdown.
- Adds a shortcut to edit your last comment:
↑. (Only works in the following comment field, if it’s empty.) - Wraps selected text when pressing one of Markdown symbols instead of replacing it:
[`'"*~_ - Reduces the upload bar to a small button.
- Hides unnecessary comment field tooltips and toolbar items (each one has a keyboard shortcut.)
- Uses a monospace font for all textareas.
- Adds a button to
@mentiona user in conversations. - Adds a button in the text editor to quickly insert a simplified HTML table.
- Notifies the user of unfinished comments in hidden tabs.
- Wait for the attachments to finish uploading before allowing to post a comment.
Reading comments
- Embeds linked gists.
- Adds links to browse the repository and linked files at the time of each comment.
- Adds the real name of users by their usernames.
- Shortens URLs and repo URLs to readable references like "_user/repo/.file@
d71718d". - 🔥 Previews hidden comments inline.
- 🔥 Highlights the most useful comment in conversations.
- Hides reaction comments ("+1", "👍", …) (except the maintainers’) but they can still be shown.
- Limits the height of tall code blocks and quotes.
- Simplifies the UI to hide comments.
- Makes the "comment" icon in issue lists link to the latest comment of the issue.
- On long conversations where GitHub hides comments under a "Load more...", alt-clicking it will load up to 200 comments at once instead of 60.
- Adds shortcuts to conversations and PR file lists:
jfocuses the comment/file below;kfocuses the comment/file above.
and many more
Refined GitHub 是做什么的
Refined GitHub 是一款面向 Firefox 的开发者工具类扩展,主要用来调试页面、查看样式与请求、测试接口、辅助前端开发。官方对它的介绍是:Simplifies the GitHub interface and adds many useful features.在Firefox 附加组件商店(AMO)上,它当前版本 26.11.6,评分 4.87(206 人评价),约 9,871 名用户。
适合什么人用
从功能定位看,Refined GitHub 更适合前端工程师、测试与需要经常查看页面结构的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 Refined GitHub
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Refined GitHub 是免费的吗?
Refined GitHub 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Refined GitHub 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Refined GitHub 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Refined GitHub?
在扩展管理页找到 Refined GitHub,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
站点访问 2
https://gist.github.com/*https://github.com/*
接口权限 5
activeTabalarmscontextMenusscriptingstorage
其他商店也有这款
同一款扩展在不同浏览器下的版本,权限与更新节奏可能不同

