Disable HTML5 Autoplay
An extension for Chromium-based browsers that disables autoplay of all HTML5 audio and video
This extension disables autoplay on all websites. Unlike others that simply pause the media or strip the autoplay attribute in HTML, this extension will also prevent JavaScript from playing the media. Furthermore, dynamically added media will be parsed by this extension.
Using this extension
This extension creates an icon next to the address bar (which is called a Browser Action.) The icon has two states:
- When the icon has color, this means there are media elements on the page.
- When the icon is a light grey, this means that no media elements are on the page.
The number that appears on the icon indicates the number of autoplay attempts on the page.
Right now, clicking on the Browser Action does nothing. This will be changed in a future version.
Installation
Install from Chrome Webstore
Install from Opera Addons
Install from source
- Download and unpack the source code:
- Tagged versions
- master branch source code: .tar.gz or .zip
- In
chrome://extensions/, enable Developer mode - Use "Load unpacked extension..." and select the folder containing the extension source code
TODO
- Add website whitelisting (using regex?)
- Add options page
- Add browser action popup with statistics and whitelisting