Greasy Fork is available in English.

Mouseover Popup Image Viewer

Shows images and videos behind links and thumbnails.

< Valutazione su Mouseover Popup Image Viewer

Domanda/commento

§
Pubblicato:
Zoom Background Images

Some sites put their images in the background and shrink them too.
Having to right click > "View background image" for each of them is really inconvenient.

Is there anyway for MPIV to catch those background images too?
kuehlschrankAutore
§
Pubblicato:
Not interested in adding general support because of the complexity it brings.

However, users can write specific host rules for sites that use them.

Made-up example to get an idea:
{"d":"example.com", "e":"div.pic", "s":"return /http[^)]+/.exec(node.style.backgroundImage)[0];"}
§
Pubblicato:
Modificato:
That works and it catches the link but the images returning doesnt work:

link.jpg%22
wOxxOmMod
§
Pubblicato:

%22 means a quote ", try replacing http[^)] with http[^)'\"] in the rule.

§
Pubblicato:
Great! It works now. Thanks wOxxOm!

Pubblica risposta

Accedi per pubblicare una risposta.