Skip to content

sanatg/TinyDefender

Repository files navigation

TinyDefender

Block ads and creepy trackers with crazy speed and small memory footprint

Efficient · Minimal · open source · Powerful

powered by Cliqz awesome awesome typescript


  • Blocks ads.
  • Blocks tracking.
  • Blocks annoyances.
  • Very small memory and CPU footprint(*).
  • Fast loading time(**).

This extension is a under the tiny project which aims to be the only modular adblocker in the world.This extension aims to work with the tiny blocker to block ads and trackers with crazy speed but still you can use it individually.

Following Blocklists were used:

  • EasyList (ads)
  • EasyList Cookies (annoyances)
  • Peter Lowe’s Ad server list (ads and tracking)
  • EasyPrivacy (tracking)
  • uBlock filters (ads + tracking + annoyances)
  • Adgaurd Base filters(ads + tracking + spyware + dns + mobileads)
  • nocoin minerblocking filter
  • malware lists
  • Anti-adblock filters

The Defender is initialized in less than 200ms, even on cold start, which means that ads and trackers are blocked as soon as your browser starts.

Installation

Building from source

Building code from https://github.com/sanatg/TinyDefender can be done with:

  1. Installing dependencies: yarn install --frozen-lock
  2. Run the Shell Script:chmod +x ./build.sh && ./build.sh
  3. Load the build folder in Firefox or Chromium by using the "Load unpacked extension" feature.

Using prebuild

If you don't want to compile from source i have pre included the build folder to load it in Firefox or Chromium.

You can also find a crx file from the release page.

FAQ

It's tiny, does it actually perform like other blocker extensions?

Yes it is small, but it leverages @cliqz/adblocker to do the heavy-lifting. This means that the extension is doing as much as any other content-blocker (if you make abstraction of the UI, of course, which only consists in a counter of blocked requests). At the time of this writing, this is still the fastest and most memory efficient adblocker around.

Which filters lists is it using?

Currently, it is using a pre-built engine distributed on Cliqz' CDN. This means that no parsing is required client-side to load the engine (super-fast loading cached between sessions!). The default lists at the time of this writing are:

Separately loaded

Updates

Date 26/7/2021

introducing cross browser support for the extension and adding more blocklists for better cosmetic filtering.

Bug Tracker

Please avoid opening issues for bugs in this repo instead open on: https://github.com/TinyBlocker/TinyDefender

Credits

this project would never have existed without cliqz adblocking library