chazapp / adblacker

A browser extension that detects ads on video streams and blacks them out
The Unlicense
0 stars 0 forks source link

AdBlacker Logo

AdBlacker

Tests tested with webdriverio

A browser extension that detects ads on video streams and blacks them out

Available on Firefox Addons

Usage

Clone the repository, install adblacker.js as an extension in Firefox.

Navigate to a Twitch stream. Ads should be blacked out and muted.

Development

The extension entry point is adblacker.js. It starts a polling loop of 1s intervals to check the presence of an ad in the webpage.

A test suite based on WebDriverIO is available. It requires the following:

Install the test suite, start GeckoWebdriver, then run the tests:

$ yarn install
...
$ geckodriver -p 4444 # in terminal #1
$ yarn test # in terminal #2