Skip to content

Easier way to exempt your favorite YouTube channels from adblocking.

License

Notifications You must be signed in to change notification settings

subhodynamics/uBO-YouTube

 
 

Repository files navigation

YouTube Channel Whitelist for uBlock Origin

Installation

Chrome Web Store

Firefox Addons

Usage

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

Contributing

Translations

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.

Packaging instructions

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.

Development

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.

Install globals

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

About

Easier way to exempt your favorite YouTube channels from adblocking.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 90.2%
  • CSS 5.2%
  • JavaScript 4.3%
  • HTML 0.3%