GitHub Enhancer

GitHub 增强:日期高亮 + 图片预览 + 标题折叠

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

ئاپتورى
orangelckc
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
3
باھا نومۇرى
0 0 0
نەشرى
1.0.0
قۇرۇلغان ۋاقتى
2026-05-19
يېڭىلانغان ۋاقتى
2026-05-19
Size
48.6 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

GitHub Enhancer

一个油猴脚本,为 GitHub 页面添加三项实用增强功能。

功能

1. 日期高亮

通过颜色高亮页面中的日期元素,帮助快速判断仓库是否仍在活跃维护。

  • 最近 2 个月内的日期显示为绿色
  • 超过 2 个月的日期显示为淡灰色

2. 图片预览

在 Markdown 正文中点击图片即可放大预览。

  • 点击图片打开预览
  • 滚轮缩放
  • 点击空白区域或按 Esc 关闭
  • 自动过滤 badge 等小图标,只对正文图片生效

3. 标题折叠

为 Markdown 正文中的标题添加折叠/展开控制。

  • 点击「收起」/「展开」文字切换单个标题
  • 按住 Shift 点击可批量折叠/展开同级标题
  • 折叠状态自动记忆,刷新页面后保留

适用页面

github.comgist.github.comhelp.github.comdocs.github.com