Double Ctrl Image Zoom (Edge Style)

Double Ctrl to zoom images like Edge browser

Author
Mr Mahmudov
Daily installs
0
Total installs
0
Ratings
0 0 0
Version
1.02
Created
2025-10-15
Updated
2025-10-15
Size
8.13 KB
License
MIT
Applies to
All sites

🖼️ 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) ✨