Git Image Preview (Ctrl/Option Click)

按住 Ctrl/Option 点击 GitHub 页面中的图片,即可在当前页面预览原图,支持滚轮缩放。Hold Ctrl (Windows) or Option ⌥ (Mac) and click images in Git platforms like GitHub to preview them in place. Supports zoom with mouse wheel.

Mint 2025.04.13.. Lásd a legutóbbi verzió

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

Fejlesztő
stuarthua
Értékelések
0 0 0
Verzió
1.0.0
Létrehozva
2025.04.13.
Frissítve
2025.04.13.
Size
3 KB
Licensz
MIT
Érvényes

Git Image Preview (Tampermonkey Script)

🖼️ 按住 Ctrl/Option 点击 GitHub 页面中的图片,即可在当前页面预览原图,支持滚轮缩放。
普通点击仍保持 GitHub 的默认行为(跳转图片链接)。


✨ 功能特色

  • 支持 GitHub README 中的图片点击预览
  • 支持放大/缩小(滚轮缩放)
  • 按住 Ctrl(Windows)或 Option ⌥(Mac)点击图片触发预览
  • 保持默认点击行为,除非你主动按下预览热键
  • 不影响 GitHub 页面原有体验