GithubHelp home page GithubHelp logo

ninjayoto / hosts-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lightswitch05/hosts

0.0 1.0 0.0 11.35 MB

Hostfile blocklist for ads and tracking, updated regularly

Home Page: https://www.github.developerdan.com/hosts/

License: Apache License 2.0

Python 96.01% Makefile 1.32% Shell 2.67%

hosts-1's Introduction

Hosts

Github Stars Build Status Quality Gate Status license last commit commit activity donate gitter

A collection of hosts files for domain blocking. If you find something in a list that you believe is a mistake or breaks functionality, please open a ticket and I'll consider removing it. Also, if you find an unblocked subdomain of a blocked root domain, please let me know so I can add it to a list.

Host file recipe Description Raw hosts
Ads & Tracking A programmatically expanded list of hosts used for advertisements and tracking. This is my primary list and I recommend using it. link
Tracking Aggressive A very aggressive block list for tracking, geo-targeting, & ads. This list will likely break functionality, so do not use it unless you are willing to maintain your own whitelist. If you find something in this list that you think is a mistake, please open a ticket and we can discuss it. Keep in mind that this is an aggressive list. link
AMP Hosts Google's Accelerated Mobile Pages (AMP) are taking over the web. Block AMP pages with this list. Since I use DuckDuckGo, this list is pretty sparse and suggestions are welcome! link
Facebook A hosts file to block all facebook and facebook related services, including Messenger, Instagram, and WhatsApp. This is a pretty new list and I recommend using it with anudeepND's Facebook list as well to ensure full coverage. link

Adding a domain

Pre-requisites

  • Python 3.6 or later
  • pip3

Setup

$ make setup

Test

$ make test

Usage

$ python3 update_hosts_file.py --help

Examples

$ python3 update_hosts_file.py -d amazon-adsystem.com doubleclick.net
$ python3 update_hosts_file.py -update

hosts-1's People

Contributors

lightswitch05 avatar pkaeding avatar ninjayoto avatar

Watchers

James Cloos avatar

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.