Skip to content
tophf edited this page Jan 20, 2021 · 12 revisions

Copied from the original MPIV website https://w9p.co/userscripts/mpiv/ shut down as of January 31st, 2021.

Introduction

Mouseover Popup Image Viewer (MPIV) is a userscript that shows images and videos behind links and thumbnails. Its features include:

  • general support for direct links to image files and WebM videos
  • special support for image hosting services like imgur, gfycat and imagevenue as well as websites like facebook, imdb, twitter and wikipedia
  • extensibility using user-defined host rules
  • zooming and panning
  • minimal user interface, e.g. zoom level is shown in the tab title
  • gallery mode to flip through imgur and minus albums
  • workaround for anti-hotlinking protections

Installation

Install & Discuss @ GreasyFork

How to Use

Action Trigger
open popup move mouse cursor over thumbnail
close popup move cursor off thumbnail, click, zoom out fully, ...
suppress/freeze popup hold down shift while entering/leaving thumbnail
force popup (ignore size threshold) hold down ctrl while entering image element
activate zoom right-click or tap shift while popup is visible
adjust zoom mouse wheel up/down to zoom in/out
flip through album (e.g. imgur) mouse wheel, j/k or left/right keys
open file in new tab press "t" while popup is visible
download file press "d" while popup is visible (Firefox and Chrome)
change settings monkey toolbar icon -> "User Script Commands" -> "Set up..."

Notes

  • Image dimensions and zoom level are shown in the tab title.
  • Some sites require an anti-hotlinking workaround. You might see a progress bar and odd filenames when it's being used.
  • If videos don't play, check your content-blocking extensions and browser settings.
    Firefox users: Don't touch media.autoplay.enabled and be aware that Flashblock also blocks HTML5 videos by default.
  • The download feature is in an experimental state and not recommended for large files. "Save as" will not appear until the whole file has been loaded into memory. So don't hit the "d" key repeatedly. Press it once and wait.
  • If you want to disable this script on certain sites, add them to your script manager's exclude list.
    Firefox users: Open "Add-ons" -> "User Scripts" -> "Options" and write something like https://www.youtube.com/*.
  • Icon taken from Developer Kit by Burak Ozturk.
Clone this wiki locally