Skip to content

๐Ÿ›‘ Video autoplay blocked, for good (Chrome Extension)

License

Notifications You must be signed in to change notification settings

dcamilleri/noplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

emitta

๐Ÿ›‘ Video autoplay blocked, for good (Chrome Extension)

noplay is a Google Chrome extension. It aims to disable the autoplaying behavior of videos on your favorite websites.

How does it work ?

noplay removes the HTML5 autoplay attribute on the <video> and <audio> tags. It also listens to DOM changes with the MutationObserver API in order to prevent lazyloading new autoplaying videos.

noplay also deletes the autoplay=1 query string in the Youtube iframe videos.

โš ๏ธ noplay tweaks video and iframe tags, but cannot prevent videos from being played programmatically.

๐Ÿ‘‹ Your thoughts and ideas are welcome! Submit an issue here

What about Facebook or Twitter ?

Facebook, Twitter and probably other websites already allow disabling video autoplay in their settings. It was not worth implementing a solution for them.

Disable autoplay on Facebook:

Go to Settings > Videos > Video autoplay (No)

Disable autoplay on Twitter:

Go to Settings > Acessibility > Video autoplay (uncheck the box)

Installation

You can download the extension on the Google Chrome Web Store

Bug report

Report bugs by filing an issue

Contribute

Pull requests are welcome!

License

MIT ยฉ Dorian Camilleri

About

๐Ÿ›‘ Video autoplay blocked, for good (Chrome Extension)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published