-
Notifications
You must be signed in to change notification settings - Fork 3.5k
selectively enable large media elements #2334
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
Comments
Update: I didn't mention before that I am normally on a very slow connection, and via a proxy. Today when using a fast connection and no proxy I had no problems at all and clicking on a large media element immediately enabled it. So I don't know if it's the connection speed or the proxy causing things not to work. |
Related issues: - #1390 - #2334 The deadline to interactively load a specific media element has been extended from 2sec to 5sec. Clicking over a blocked large media element will cause uBO to lookup and handle all potentially blocked large elements at the cursor position. This should take care of being able to unblock media elements hidden under other DOM object. The CSS style applied to blocked large media elements has been fine tuned to improve interactivity. uBO will now remember the specific media elements which were unblocked and keep them exempted from being further blocked. This would be an issue when unblocking a video and then a bit later seeking to another point in the video, in which case uBO would again block network requests for that video.
Emulating "Slow 3g" in dev tools, Network tab in Chrome Version 86.0.4240.75 (Official Build) (64-bit). Link from OP, 50kB limit. Click to load does not allow image to load in 1.30.4. Loading works as expected in 1.30.5b6. There is a small delay before dotted border is painted - can be page loading images with delay (lazyload)? |
The content script used for interactivity/styling is injected with |
Closing as fixed with recent changes to the related code. A new issue should be opened if new cases are identified. |
Describe the issue
cannot selectively enable large media elements
One or more specific URLs where the issue occurs
all sites with more than 1 large-media-element according to configured settings. e.g. (taken from wiki page for per-site switches) http://www.tomshardware.com/reviews/samsung-gear-vr-headset,4405.html
Steps for anyone to reproduce the issue
summary:
there is no way to selectively enable large-media-elements and there is no apparent function for the magnifying glass on hover over blocked picture - unless for some reason the blocked element is constantly changing size.
Your settings
globally block media elements larger than 50kb
The text was updated successfully, but these errors were encountered: