For uBlock Origin, add the following line to your Trusted Sites
:
*youtube.com/*&disableadblock=1
Although this extension was designed for uBlock Origin, you can also use it with Adblock Plus, AdBlock and other adblockers compatible with ADP filters if you use the following filter:
@@||youtube.com/*&disableadblock=1$document
For convenience, I've created this filter list which can be imported to Opera's Native Adblocker
https://raw.githubusercontent.com/x0a/uBO-YouTube/master/shared/whitelist.txt
If you are multilingual, you can help by contributing some translations here: https://crowdin.com/project/youtube-channel-whitelist-for/
Feel free to contribute at your leisure.
Start by installing gulp and other build dependencies by running:
npm install --only=dev
Then replace the applications.gecko.id
key in /shared/manifest.json
with either your own key or a string in email format (e.g. [email protected]
)
Finally build the packages by running in the root directory:
gulp build
The packages will be created in /dist/
, ready for submission as an extension, and the debug folders will be updated.
To start development on uBO-YouTube, simply install the required global packages, download the source and install it's required local packages, start the websockets server with gulp watch
and load the extension. It will automatically reload the extension as changes are made.
npm install -g gulp typescript
Clone uBO YouTube
, install the required modules and start the development server.
git clone https://github.com/x0a/uBO-YouTube
cd uBO-YouTube
npm install --only=dev
gulp watch
To temporarily install the extension on Firefox, you need to first enter the "Debug Addons" page, available through the menu on the Addons page. Then click "Load Temporary Addon", and point to uBO-YouTube/dist/webext/debug
and click on any file in the directory to load the extension.
To temporarily install the extension on Chrome, you can load uBO-YouTube/dist/chrome/debug
as an unpacked extension