Giter VIP home page Giter VIP logo

adblock_lists_v2's Introduction

Adblock lists V2

I used to build a range of Adblock lists, including a modified version of the Easylist ad blocking list.

However it wasn't really feasible to continue publishing and maintaining those lists (more information in jira-projects/ADBLK#1) so this set of lists was born.


Usage

To use the blocklists, you should use one of the following URLS

Which URL will obviously depend on which system you're having consume

If you're using pihole then you'll want to use blockeddomains.txt and might also want to configure Pi-Hole to update blocklists more regularly


Block Lists

The list directory in this repository contains more or less a single adblock list published in a number of different formats formats

The list of blocked zones can be used with a parser to generate regexes to feed into PiHole.


Allow Lists

The list directory also contains allowlists which can be used (in Pi-Hole etc) to override some of the more extreme blocks implemented by some third party lists.

These can be periodically imported into Pi-Hole by using pihole_update_whitelist.py.


Config Files

The blocklists are built based upon files within the config directory

  • manualpages.txt: full URLs, will be included in the ABP lists. If a domain is specified with no path/args then it'll generate a zone-wide block too
  • manualzones.txt: DNS zones to block. Anything listed here will have every subdomain of it blocked (where possible)
  • manualblocks/* : directory of domain names to block - seperate files can be used to maintain a semi-logical order
  • regexes/*: a directory of regexes to block - seperate files can be used to maintain a semi-logical order

Hooks

The lists are updated via git hooks, so when first cloning the repo down it's necessary to run

hooks/post-merge

The hooks should be self-maintaining after that.

License

Lists and scripts are licensed under the BSD 3 Clause License and are Copyright (C) 2022 Ben Tasker

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.