Skip to content

System-wide ad blocker based on hosts file, focused on easy management

License

Notifications You must be signed in to change notification settings

codeswhite/blockns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockNS

A script that will download, backup and install hosts blocklist in order to block ads.

Tested on

  • Windows 10
  • Arch Linux

Preparing & Running

Firstly we want to clone (download) the repository

git clone https://github.com/WhiteOnBlackCode/blockns
cd ./blockns

A virtual-enviorment is optional yet recommended. Install python dependencies via pip

pip install -r ./requirements.txt

Once all dependencies are intact run the script as root!

python3 ./blockns.py

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

System-wide ad blocker based on hosts file, focused on easy management

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages