Skip to content

Latest commit

History

History
43 lines (22 loc) 路 1.57 KB

README.md

File metadata and controls

43 lines (22 loc) 路 1.57 KB

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