futpib / policeman

Firefox extention for cross-site requests control (kind of RequestPolicy clone)
https://addons.mozilla.org/en-US/firefox/addon/policeman/
142 stars 11 forks source link

Srcset images are broken #228

Open abhibeckert opened 8 years ago

abhibeckert commented 8 years ago

With an image tag like this:

<img src="http://cdn.arstechnica.net/wp-content/uploads/2015/10/DSC01707-640x427.jpg"
srcset="http://cdn.arstechnica.net/wp-content/uploads/2015/10/DSC01707-1280x853.jpg 2x"
height="427" width="640">

The request for the "2x" image is blocked even though I have a rule to allow images. Since I have a 2x sceren, firefox doesn't even attempt to load the normal image and I get a broken image on the page.

wavexx commented 8 years ago

srcset is now used by wikipedia icons: https://en.wikipedia.org/wiki/Wikipedia:Verifiability and thumbnails. 2x can happen even for regular screens by simply zooming. There's no way to allow srcset unless "other" is permitted, which is quite limiting.