Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ronioncloud/a626215320f5bd0a0af2cb7ca6bc3b98 to your computer and use it in GitHub Desktop.

Select an option

Save ronioncloud/a626215320f5bd0a0af2cb7ca6bc3b98 to your computer and use it in GitHub Desktop.

[AIO] Ultimate AdBlocking+AdBypassing Guide (Firefox/Chrome - Windows/Linux)

Why We Need To Block Ads From Internet?

The Internet is a vast space of infinite knowledge. We can store and access those knowledge, those data from everywhere and from any device. We just need to use correct words or phrases to find them. But often what we get is not exactly Safe to See, it's not annoyance-free.

That's why we need to filter out the annoyance and bad things. That's why we use Ad-Blockers.

Although some sites resist the users to use Ad-Blockers because the Site Owners gain revenue from the Ads to Pay their Domain+Hosting Bills.

How Do We Get An Annoyance-Free Better Open Internet For All?

There are two common ways to shut off the annoyance.

  1. Block the known Domains or their IP Addresses through hosts file inclusion.

In Windows, C:\Windows\System32\drivers\etc\hosts or In Linux, /etc/hosts

  1. Use AdBlock Browser Extensions and Userscripts to Block Specific Sites and their Scripts to be loaded inside any Website.

This is the Recommended Method

To do so, you need to follow the bellow steps as exactly as I written. Do not tell me if you can't find a button to press or so.

A Few Not-So-Simple Steps To Get Started With --

Method #2, By the use of Browser Extensions and AdBlock Filters.

A. You need to Install four browser extensions.

  1. For Firefox, install Greasemonkey, uBlock Origin, Nano Defender and Universal Bypass.
  2. For Chrome, install Tampermonkey, uBlock Origin and Nano Defender and Universal Bypass.

B. After you install the extensions, you have to install two/three Userscripts. Usable in either browser.

  1. Anti-Adblock Killer (Script) - A script to outthrow the Anti-Adblock parts from the websites,
  2. AAK-Cont (Script) - An updated form of previous Anti-Adblock Killer Script,
  3. AdsBypasser - To skip countdown ads & prevent ad pop-up.

C. Now, the (really) hard part. You have to add some filters to uBlock Origin which can eleminate specific Ad Domains and Scripts.

  1. Click on the 'uBlock Origin' Icon from the toolbar of your browser's toolbar. Then click the Settings Icon which says 'Open the dashboard' when mouse is hovered.
  2. Go on the "Filter lists" Tab. Scroll down & Tick the [ ] import... checkbox and add these lines bellow:
    https://raw.github.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt
    https://gitlab.com/xuhaiyang1234/AAK-Cont/raw/master/FINAL_BUILD/aak-cont-list-ubo.txt
    https://easylist-downloads.adblockplus.org/antiadblockfilters.txt
    https://gitcdn.xyz/repo/NanoAdblocker/NanoFilters/master/NanoMirror/NanoDefender.txt
    https://gitcdn.xyz/repo/NanoAdblocker/NanoFilters/master/NanoFilters/NanoBase.txt
    https://gitcdn.xyz/repo/NanoAdblocker/NanoFilters/master/NanoFilters/NanoWhitelist.txt
    
    Click Apply changes.
  3. Go to the "Settings" Tab and Tick on the 7th line saying markdown - [ ] I am an advanced user, Click the gears that shows up, replace unset after userResourcesLocation by https://gitcdn.xyz/repo/NanoAdblocker/NanoFilters/master/NanoFilters/NanoResources.txt, Click Apply changes.
  4. If you want to block Pornographic Sites in Browsers, Go to Step #C(2) and add the below line (39,675 entries) in the import... section: https://raw.githubusercontent.com/EnergizedProtection/block/master/extensions/porn-lite/formats/filter
  5. If you want to block more Annoyance Sites, using an updated tracker, Go to Step #C(2) again and add the below line in the import... section:
    • If your Desktop/PC is old and running on very low CPU/RAM power, add the bellow line (51,292 entries) - https://raw.githubusercontent.com/EnergizedProtection/block/master/spark/formats/filter
    • If your PC is new and have enough CPU/RAM power to simultaniously multitask smoothly, add the below line (203,865 entries) - https://raw.githubusercontent.com/EnergizedProtection/block/master/blu/formats/filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment