Code Monkey home page Code Monkey logo

ddg-tr-as-easylist's Introduction

ddg-tr-as-easylist

Tracker blocking lists based on the DuckDuckGo Tracker Radar provided in the popular EasyList format and thus suitable for inclusion in eBlocker and other blocking software.

Repository contents

This repository contains tracker blocking lists in the EasyList format derived from the DuckDuckGo Tracker Radar data. See the this blog post and the Tracker Radar's FAQ for some basic information about the base data. As the data in the Tracker Radar is neither intended nor directly suitable for blocking, I wrote some code to transform it into a set of lists suitable for blocking.

Using in eBlocker

To make use of the lists, add URLs for one or more of the files in the eBlocker's Pattern Blocker lists: Go to Settings -> Blocker -> Pattern Tracker Blocker -> Add. Then choose "easylist" as format and customize the following URL template: https://github.com/mainzelM/ddg-tr-as-easylist/raw/master/easylist/REGION_CODE/LIST.txt, using as REGION_CODE one of

Region Code Region
US United States
AU Australia
CA Canada
CH Switzerland
DE Germany
FR France
GB Great Britain
NL Netherlands

and as LIST one of

List Description
light Rules from tracking-related domains. Lightweight-level combination of fingerprinting, cookies, and prevalence.
medium Rules from tracking-related domains. medium-level combination of fingerprinting, cookies, and prevalence.
maximum Rules from tracking-related domains. maximum-level combination of fingerprinting, cookies, and prevalence.
malware Rules from domains in the malware category (always recommended)

For example, the URL https://github.com/mainzelM/ddg-tr-as-easylist/raw/master/easylist/US/maximum.txt references the maximum list of the US region.

Be sure to activate the "daily updates" switch to get automatically updated as new data is published (usually once a month).

Recommendation

The files get larger with each level, therefore the memory usage within eBlocker increases accordingly.

For eBlockers running on the White Cube or a Raspberry Pi with 1GB memory, include the light or medium lists of your region and the US region in addition to the standard eBlocker lists.

For eBlockers with more than 1GB memory, use the medium or maximum list of your region and the US region in addition to the standard eBlocker lists.

Especially with the maximum lists, the likelihood of breaking some sites increases. As always, each user needs to individually choose the desired level of privacy and comfort.

Evaluation

Based on a comparison to the standard tracking-blocker lists shipped with the eBlocker visiting the top 5000 sites from the Tranco list, and another 1000 sites from Germany and Switzerland each, the maximum lists from US, DE, and CH taken together increase the number of blocked URLs by about one third. On the other side, the maximum lists still miss about one third of the URLs blocked by the eBlocker.

Additional lists

For reference, additional lists are available:

List Description
cookies1percent Rules from tracking-related domains that set cookies found in at least one percent sites of the region.
cookies1permill Rules from tracking-related domains that set cookies found in at least one per mill sites of the region.
cookiesAny Rules from tracking-related domains that set cookies in the region.
fingerprinting123 Rules from tracking-related domains that have a fingerprinting likelihood of 1, 2, or 3 according to the DDG model
fingerprinting23 Rules from tracking-related domains that have a fingerprinting likelihood of 2, or 3 according to the DDG model
fingerprinting3 Rules from tracking-related domains that have a fingerprinting likelihood of 3 according to the DDG model
prevalence1percent Rules from tracking-related domains included by one percent of the sites of the region
allTracking All rules from domains that have a tracking-related category or no category (the superset of the lists above, probably too much for blocking)
notTracking All rules from domains that don't have a tracking-related category (shows what's not included in the lists above, not useful at all for blocking)

Usage in other blocking software

As the EasyList format is also supported by other blocking software such as uBlock Origin, it should be possible to use my lists there as well.

Licence and attribution

This work, "ddg-tr-as-easylist", is a derivative of the "DuckDuckGo Tracker Radar" by Duck Duck Go, Inc, used under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. "ddg-tr-as-easylist" is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License by mainzelM.

ddg-tr-as-easylist's People

Contributors

mainzelm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

eblocker

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.