0x48piraj / fadblock

Friendly Adblock for YouTube: A fast, lightweight, and undetectable YouTube Ads Blocker for Chrome, Opera and Firefox.
2.41k stars 111 forks source link
adblock adguard blocker chrome extension firefox javascript opera privacy youtube

Fadblock Origin: A fast, lightweight, and undetectable YouTube Ads Blocker for Chrome, Opera and Firefox
A fast, lightweight, and undetectable YouTube Ads Blocker for Chrome, Opera, and Firefox.

Get FadBlock Origin for Firefox Get FadBlock Origin for Chromium Get FadBlock Origin for Opera

FadBlock Origin: Friendly Youtube™ Adblock

This was posted over Reddit a few months ago, Apparently Ad Blockers are not allowed on Youtube. Is this a new thing they've implemented? and judging by all the recent comments and posts all over r/youtube, this change was just rolled out on a larger scale.

This blocker is designed to monitor advertisements, automatically seek the ads, and skip them. It's important to note that this doesn't classify as traditional ad blocking, as the ad content is technically "loaded".

Nevertheless, the extension's underlying logic enables it to fast-forward through the ad content to its conclusion. The entire process is optimized to occur within an extremely brief timeframe, typically <=100 milliseconds, ensuring a smooth and uninterrupted user experience.

YouTube server side shenanigans

Update (June 2024)

With the looming threat of uBlock being removed from the store and YouTube implementing server-side ad insertion, the landscape is becoming increasingly challenging for ad blockers. This new ad strategy makes it tougher than ever to combat intrusive advertising.

Google threatening uBlock

MAJOR ANNOUNCEMENT :mega::mega::mega:

This project has made a monumental impact! FadBlock is the only extension that has continued to thrive while even the big players fell silent time to time. This project became sort of the original pioneer of this type of ad blocker, consistently delivering results when others couldn’t. While countless copycats have either shut down or failed to replicate our success, we stand strong and unwavering.

However, this success comes at a cost—I’ve invested immense time and resources to keep this project alive and kicking. As a result, we’re transitioning to a closed-source model to ensure ongoing maintenance and updates.

Well, technically it’s open-core, but let’s not quibble about semantics.

Faster, smoother, and better than ever!

The latest version features proprietary code and polyfills specifically designed to ensure compatibility with older browsers. We’ve completely rewritten the entire codebase from the ground up!

The next version is set to expand into YouTube Music! 🎉 It will feature a "Blocked since installation" counter, along with a host of other niche features and proposed bug fixes.

Note: Some people are getting confused about the new permissions as well as the access to extensionpay.com. The storage permission is for counting the "Blocked YouTube Ads" and ExtensionPay is a payment processor integrated with Stripe for obtaining a lifetime license after an initial free trial period (it's gonna stay free after as well but will ask for a contribution now and then).

I genuinely hope you all can appreciate the immense amount of time and effort it requires to sustain a project like this all the while YouTube keeps changing the rules, trying to shut out everything. All this coupled with working >80 hours/week (not including FadBlock Origin). If you're not satisfied with the decision where you have to pay a one-time contribution as a gesture for "job well done and keep at it", you still have the option to manually roll back to version 1.3 (now deprecated & experiencing functionality issues). I won't remove it; it just won't receive further updates. I believe that's a fair compromise.

Coverage

Features

This extension effectively eliminates all categories of YouTube advertisements:

Category 1: Ads visible on the homepage.

Category 2: Ads overlaid atop the suggested video list.

Category 3: Ads displayed below the video description.

Starting on April 6th, 2023, the “Overlay ads” ad format will no longer appear on YouTube to help improve the viewer experience and shift engagement to higher-performing ad formats on desktop and mobile devices. Overlay ads are a legacy ad format that is only served on desktops and are disruptive for viewers.

Category 4: Skippable 5-second-must-be-watched video ads, which may be positioned at the video's start, midway, or at the end.

Category 5: Ads similar to Category 4, but with two consecutive video ads instead of one.

Category 6: Inescapable 10-second video ads, which must be watched.

FAQ

  1. It is not working!

You will have to disable other adblockers as they are getting detected. It's not due to FadBlock Origin as the technique it uses is completely different than other adblockers. It's hacky but it works and Google can't do jack (for the most part).

Some of the extensions that do not and do work with FadBlock Origin are listed down below,

Name of the extension Getting detected
uBlock Origin ✔️
Enhancer For Youtube ✔️
SponsorBlock for YouTube (probably)
Return YouTube Dislike
Malwarebytes extension ✔️
Brave in-built adblock ✔️
Firefox in-built adblock ✔️

You can also add youtube.com to the exception list for domains on other adblockers (uBlock Origin, AdBlock) and then download FadBlock Origin to override regular Adblock being prioritized on YouTube while the conventional adblocker will work across the remainder of the Internet.

Note: If you're still getting YouTube's Adblock warning, look at your extensions, and disable extensions one by one until you find your culprit. If you still can't find it, change your browser to Chrome (as it has no built-in adblocker) and test again. If it still doesn't work, then and only then create an issue.

  1. Why there's no privacy policy?

There’s no privacy policy as there’s no data collection at all, not even analytical data for error reporting. Everything happens locally. No remote connections are made, nada!

  1. How do I use it for my phone?

Unfortunately, there’s no app or anything. You cannot install Chrome extensions on the Chrome browser on Android, but several Chromium-based third-party browsers support extensions (e.g. Brave Browser).

Note: You will have to leave the YouTube app and watch over a browser (not very elegant, sorry)

Install FadBlock Origin to Opera, Edge, Brave and Safari

This section explains how to install the extension utilizing the developer mode as well as Chromium-based browsers,

installing chrome extension in dev mode

Opera & Edge

Go to the extensions manager page for Opera (opera://extensions) or Edge (edge://extensions), turn on developer mode, and click on Load Unpacked.

Brave Browser

You can visit the Chrome Web Store and download the extension.

Install on Safari @ macOS

  1. Download the Userscripts from the App Store

  2. To open Userscripts and enable Safari extensions settings, open Userscripts (userscriptsurlscheme://), then select the checkbox next to Userscripts.

  3. Click on the Userscripts icon at the top of Safari to open the script editor and create a new JS file. Then, copy the code from fadblock.user.js and paste it into the newly created JS file.

Show your support

Disclaimer

This software is provided for educational purposes only and is provided "AS IS", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.