您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows images and videos behind links and thumbnails.
当前为
A fork of MPIV (Mouseover Popup Image Viewer).
Developed on https://github.com/tophf/mpiv
Activate | move mouse cursor over thumbnail |
Deactivate | move cursor off thumbnail, or click, or zoom out fully |
Prevent or freeze | hold down Shift while entering/leaving thumbnail |
Force-activate (for small pics) | hold Ctrl while entering image element |
Zoom mode | configurable: automatic or via right-click / Shift while popup is visible |
Zoom in or out | mouse wheel |
Flip through album | mouse wheel, j / k or left / right keys |
Open in tab | press t while popup is visible |
Download | press d while popup is visible |
Change settings | userscript manager toolbar icon -> User Script Commands -> `MPIV: configure` |
Click MPIV: Configure
in your userscript manager popup menu.
<html>
node because doing so slows down complex sites due to recalculation of the entire page layout. Instead only the hovered node (as reported by the matching rule) receives status updates on its mpiv-status
attribute (it's not the class
nor data-
attribute to avoid confusing sites with unknown stuff being present in these standard places). If you were using the global status feature to customize CSS of those statuses, you'll need to enable it manually in the MPIV's config dialog.New rule property "u"
(a single string or an array of strings) that performs a very fast plain-string check. Only when it succeeds, the slow regexp "r"
is checked. Special symbols may be specified in "u"
property to increase the reliability of matching: ||
, |
, ^
- same syntax as in AdBlock filters, see the source code of the script for usage examples.
||foo.bar/path
, here ||
means "domain or subdomain" so the pattern matches domains like foo.bar
or subdomain.foo.bar
and doesn't match unrelated domains partially like for example foofoo.bar
|foo
matches things that start with foo (the entire URL is checked so that means http
at least, usually)^
is a URL part separator (like /
or ?
or :
) but not a letter/number, neither any of %._-
. Additionally, when used at the end like foo^
it also matches when the source ends with foo
See the original site for more info on writing rules in general and this comment for gallery rules in particular.