-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no-large-media has no effect on images loaded through 3p CSS #3134
Comments
Are you sure they are not loaded from cache?
Absolutely sure. Tested in a clean VM in which a browser was never run.
Additionally tested explicitly by looking at the web console with network caching disabled. Both web console and uBO's console show both the blocked and the non-blocked requests.
|
Did you try reloading the page with cache bypass after you setup your config? |
Did you try reloading the page with cache bypass after you setup your config?
Yes. Many times.
Strangely, as I am retrying right now (another clean setup), images appear blocked. I absolutely sure I am doing the same as before. Very strange.
|
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as abuse.
This comment was marked as abuse.
@garry-ut99
At the time I reported this, I was getting case1 + case2 simultaneously.
As per my previous reply and as of today (updated to uBO 1.56 and TB 3.0.10), I am getting only case 1.
Another thing/issue, maybe related or not, is that after disabling no-large-element, and reloading site, then enabling no-large-element again and reloading site again, no images are blocked anymore, even with cache cleared and disabled in dev console
That's it! It might have been this which I have observed initially and I can reproduce it today too.
*Please note that when you edit a comment, I don't get email notification about it.
|
I can consistently reproduce images not getting blocked despite Block media elements setting set to 0 KB on Firefox 124 |
|
This comment was marked as abuse.
This comment was marked as abuse.
For every "images not blocked" instance, I need to know how exactly this was determined: visual? uBO's logger? browser network pane? |
This comment was marked as abuse.
This comment was marked as abuse.
Yes
Yes On my side profile picture image also loads (tested at https://github.com/uBlock-user) Content-Length header is also present as per the above image. |
This comment was marked as abuse.
This comment was marked as abuse.
OP's repro steps didn't mention disabling |
This comment was marked as abuse.
This comment was marked as abuse.
OP's repro steps didn't mention disabling `no-large-media`.
Yes. The reason is probably that I made many tests and I blindly trusted the fact that disabling cache works as expected, i.e. I didn't expect that the issue is more complex, as it turned out. Sorry for the confusion.
I confirmed the actual finding of @garry-ut99 though, so he helped to clarify that. Thanks.
|
This comment was marked as abuse.
This comment was marked as abuse.
@progman-dt Which sites did you use to test? |
habr.com |
You can use @@||fonts.gstatic.com^$badfilter |
Prerequisites
I tried to reproduce the issue when...
Description
no-large-media
has no effect when CSS is blocked but3p
for the domain isnoop
A specific URL where the issue occurs.
https://github.com
Steps to Reproduce
*The value for "Block media elements larger than" is 0 KB.
Expected behavior
Images > 0 KB should not be loaded.
Actual behavior
Images are loaded.
uBO version
1.55
Browser name and version
Tor Browser 13.0.9 (based on Firefox 115.7.0esr)
Operating System and version
Whonix 17
The text was updated successfully, but these errors were encountered: