Picviewer Simple

Simple image viewer — hover icon or double click opens a minimal zoom+rotate viewer.

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

You will need to install an extension such as Tampermonkey to install this script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

Autor
almahmud
Instalações hoje
0
Total de instalações
0
Avaliações
0 0 0
Versão
1.1
Criado
23/12/2025
Atualizado
23/12/2025
Tamanho
10,9 KB
Licença
GPL-2.0
Aplicável a
Todos os sites

Picviewer Simple

Install Link: GreasyFork - Picviewer Simple


Short Summary

Picviewer Simple is a lightweight userscript designed to enhance your image viewing experience. It adds a small magnifier icon over every <img> element when you hover your mouse over it. Clicking the icon opens a streamlined viewer where you can zoom, rotate, and reset the image. The controls (zoom in/out, rotate left/right, reset, close) are always pinned to the top for easy access.


Installation

  1. Install a userscript manager like Tampermonkey or Greasemonkey for your browser.
  2. Go to the GreasyFork link and click "Install this script".
  3. Alternatively, create a new userscript in your manager and paste the code from picviewer-simple.user.js.
  4. Reload your tabs. Hover over any image to see the magnifier icon and click it to open the viewer.

Features

  • Hover-Triggered Icon: A magnifier icon appears on every <img> element (no site-specific hacks needed).
  • Flexible Activation: Open the viewer by clicking the icon or double-clicking the image.
  • Comprehensive Controls:
  • Zoom: via buttons or mouse wheel.
  • Rotate: Left or right using dedicated buttons.
  • Persistent UI: Controls stay on top (z-index managed), so they remain clickable even when the image is zoomed or rotated.

  • Keyboard Shortcuts:

  • Esc: Close viewer

  • + / -: Zoom in/out

  • [ / ]: Rotate left/right

  • 0: Reset view


Customization

You can easily tweak the script's appearance by modifying these values at the top of the code:

  • ICON_SIZE: Change the size of the magnifier icon (px).
  • RIGHT_OFFSET: Adjust the icon's distance from the right edge (px).
  • ICON_RAISE_PX: Adjust the icon's height from the bottom corner (px).

Notes

  • No Facebook Hacks: This script intentionally avoids Facebook-specific workarounds to remain lightweight. double click option is still working.
  • License: Distributed under the GPL-2.0 license.