A browser extension that detects ads on video streams and blacks them out
Clone the repository, install adblacker.js
as an extension in Firefox.
Navigate to a Twitch stream. Ads should be blacked out and muted.
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