An extension for Chromium-based browsers that disables autoplay of HTML5 audio and video
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
LICENSE
README.md
TODO
background.js
content_script.js
frame_script.js
manifest.json
popup.html
popup.js

README.md

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

  1. Download and unpack the source code:
  1. In chrome://extensions/, enable Developer mode
  2. Use "Load unpacked extension..." and select the folder containing the extension source code