Greasy Fork 还支持 简体中文。

Double Ctrl Image Zoom (Edge Style)

Double Ctrl to zoom images like Edge browser

目前為 2025-10-20 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Mr Mahmudov
評價
0 0 0
版本
1.03
建立日期
2025-10-15
更新日期
2025-10-20
尺寸
12.2 KB
授權條款
MIT
腳本執行於
所有網站

🖼️ Double Ctrl Image Zoom (Edge-Style)


This userscript reproduces the Microsoft Edge double Ctrl image zoom feature in any browser (Tested: Chrome, Brave).
When you press the Control key twice quickly (within 400 ms) while hovering over an image,
the image will pop out in a centered overlay with a darkened background. (Just like Edge’s built-in feature if you have seen before).

✨ Features

  • 🔍 Double-press Ctrl while hovering any <img> element to zoom it up.
  • 🖱️ Works on any website — Chrome, Firefox, Edge, Brave, etc.
  • 🎬 Smooth fade-in / fade-out animation for a native feel.
  • 🧹 Click outside or press Esc to close the zoomed view.
  • ⚙️ Lightweight and doesn’t interfere with page layout or styles.

🧭 How to Use

  1. Install Tampermonkey (or Violentmonkey/Greasemonkey).
  2. Click Install this script on the GreasyFork page.
  3. Browse any website with images.
  4. Hover your mouse over an image and press Ctrl twice quickly.
  5. The image will zoom to the center. Click anywhere or press Esc to close it.

🔧 Customization

  • DOUBLE_PRESS_INTERVAL – time (in ms) allowed between Ctrl presses (default: 400).
  • overlayDiv styling – change background color, blur, or opacity as you like.
  • maxWidth / maxHeight – control how large the zoomed image can get.

🚀 Compatibility

  • ✅ Chrome / Edge (Even though it already has) / Brave / Opera
  • ✅ Firefox (with Tampermonkey or Violentmonkey)
  • ⚠️ Safari users may need to allow “Run on all sites.”

💬 Notes


No data is collected. Everything runs locally in your browser.
The script works purely with client-side JavaScript and does not contact any external services.



Created by emberasim - with a little help from GPT-5 (Web Content) ✨