Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Blocked images download but only briefly display when loaded directly #822

Closed
Hyundy opened this issue Nov 20, 2017 · 2 comments
Closed

Comments

@Hyundy
Copy link

Hyundy commented Nov 20, 2017

Example URL: http://coloringtop.com/sites/default/files/5crxe5bca.jpg

uMatrix 1.1.6 Firefox 58b4

I think this behavior change corresponds with the move to WebExtenions.

Before, if your ruleset had images blocked, that image would download and display. Now, you can see the image download and show for a split second before a tiny white box displays. You must set an allow rule to view the image.

I hope the previous behavior can be returned to. It is still how uBo works with blocked images.

@gorhill
Copy link
Owner

gorhill commented Nov 20, 2017

As per logger, the browser makes a request of type main_frame (alias doc) to the remote server for the image, so uMatrix filters according to the doc type, not image type. So essentially uMatrix filters according to what the browser sends through the webRequest API.

Upon arrival, the resource is transformed into an img tag into a document by the browser, this is where something needs fixing in uMatrix, the image should not be collapsed by uMatrix, because it was not blocked.

@gorhill
Copy link
Owner

gorhill commented Dec 10, 2017

This was fixed with code changes in commit 73c8da0.

@gorhill gorhill closed this as completed Dec 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants