mirror of https://github.com/gorhill/uBlock.git
Mentioned "preventing autoplay" functionality in "No large media elements" section.
parent
dd136214c6
commit
856d66ef1a
|
@ -15,6 +15,7 @@ Changes to the state of per-site switches are temporary until you make them perm
|
|||
|
||||
- [No popups](#no-popups)
|
||||
- [No large media elements](#no-large-media-elements)
|
||||
- [No autoplay](#no-autoplay)
|
||||
- [No cosmetic filtering](#no-cosmetic-filtering)
|
||||
- [No remote fonts](#no-remote-fonts)
|
||||
- [No scripting](#no-scripting)
|
||||
|
@ -77,6 +78,18 @@ Examples of usefulness (let's say you just stumbled onto these pages not knowing
|
|||
|
||||
If the media elements do not have a `Content-Length` header present, then this switch will fail to block the said media elements by size.
|
||||
|
||||
#### No autoplay:
|
||||
|
||||
Starting with [1.60.1b2](https://github.com/gorhill/uBlock/commit/73ce4e6bcf) Blocking large media elements also prevents autoplay, regardless of size.
|
||||
|
||||
When the "No large media elements" per-site switch is toggled on, it will also act to prevent autoplay of video/audio media, regardless of their size. This also works for xhr-based media streaming.
|
||||
|
||||
If blocking by size is not desirable while blocking autoplay is desired, one can toggle on "No large media elements" switch while setting "Block media elements larger than ..." to a very high value.
|
||||
|
||||
Related issues:
|
||||
- [Prevent videos from playing automatically](https://github.com/uBlockOrigin/uBlock-issues/issues/3394)
|
||||
- https://github.com/uBlockOrigin/uAssets/discussions/25007
|
||||
|
||||
***
|
||||
|
||||
## No cosmetic filtering
|
||||
|
|
Loading…
Reference in New Issue