您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
融合 GitHub 增强功能:新窗口打开链接、MD 文件目录化、固定页面头部
当前为
GitHub 增强套件 是一个 Tampermonkey 用户脚本,旨在提升 GitHub、Gitee 和 npmjs 的浏览体验。它集成了多个实用功能,优化了页面交互和导航。
目前实现的增强功能包括:
新窗口打开链接
点击 GitHub 内部链接时,自动在新窗口打开,便于多任务浏览。
Open GitHub internal links in a new window automatically for multitasking.
MD 文件目录化
为 README.md 等 Markdown 文件生成悬浮目录导航,支持拖动和滚动高亮,提升文档阅读效率。
Generate a floating table of contents for README.md and other Markdown files, with drag support and scroll highlighting.
固定页面头部
将 GitHub 页面顶部的导航栏固定在屏幕顶部,滚动时始终可见,方便快速导航。
Fix the GitHub page header at the top of the screen for easy navigation during scrolling.
页面滚动时,顶部导航栏保持固定 / The top navigation bar remains fixed while scrolling.
悬浮目录按钮,点击展开,支持拖动和高亮 / Floating TOC button, expandable, draggable, and with highlighting.
安装 Tampermonkey
在你的浏览器(Chrome、Firefox、Edge 等)中安装 Tampermonkey 扩展。
添加脚本
Inspired by community needs and existing plugins (e.g., github-enhance-plugin), enhancing the GitHub experience for developers.
开源许可 / License 本项目采用 GPL-3.0 开源许可。
贡献 / Contribution 欢迎提交问题或改进建议!请通过 GitHub Issues 反馈,或直接修改代码提交 Pull Request。
Footer © 2025 GitHub, Inc. | 由社区驱动的开源项目 / Community-driven open-source project
text