Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (31 sloc) 2.21 KB

HOSTS/Ad-Block

Suggested usage: fork it, replace /USERNAME/ with your GitHub-username, use links (direct download).

https://raw.githubusercontent.com/USERNAME/hosts/master/_raw__hosts.txt

https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts.txt https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts0.txt
https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts_with_localhost.txt https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts0_with_localhost.txt
https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts_adblock.txt https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts_adblock_anti_annoyances_hide.txt https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts_adblock_anti_annoyances_block.txt https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts_adblock_anti_annoyances_block_inline_script.txt https://raw.githubusercontent.com/USERNAME/hosts/master/build/hosts_adblock_anti_annoyances_style_inject.txt

Or download it all in an archive:

https://github.com/USERNAME/hosts/archive/master.zip

The _raw__hosts.txt file is just a raw list of the host-domains (without any prefix), hosts.txt uses 127.0.0.1 prefix for each line, hosts0.txt uses 0.0.0.0 prefix for each line, hosts_with_localhost.txt and hosts0_with_localhost.txt uses the same prefixes but adds an additional entries for machine's self-localhost.

The hosts_adblock.txt has the same content as _raw__hosts.txt built with an additional uBlock-filter format file-headers.


For developers - download/clone, modify any of the raw... lists and run _builder.js using a NodeJS that is compatible with your operation-system (for example: Windows).