WhatsApp Web uses blob for everything. MPIV works fine for <img>blobs in WhatsApp, but in many cases the website uses a <div> with backgroud-image, like for displaying images within quoted messages. Then I created this rule:
The reason for that condition was that blobs didn't work on some popular site. I forgot which one so I can't test it now and hence can't insist on keeping it :-)
WhatsApp Web uses
blob
for everything. MPIV works fine for<img>
blob
s in WhatsApp, but in many cases the website uses a<div>
withbackgroud-image
, like for displaying images within quoted messages. Then I created this rule:But it fails here: https://github.com/tophf/mpiv/blob/f998a9367afce7f1f4e4e77e37060a1162778b4e/script.user.js#L2272
So I changed https://github.com/tophf/mpiv/blob/f998a9367afce7f1f4e4e77e37060a1162778b4e/script.user.js#L2742-L2747 to
And now MPIV works properly to zoom the image.