Skip to content

Simple python script to block ads in Linux/Windows System by adding AdAway's default hosts sources to /etc/hosts

License

Notifications You must be signed in to change notification settings

iam-shanmukha/adblocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

adblocker.py

This is a simple python script which blocks ads in Linux/Windows System by adding AdAway's default hosts sources to /etc/hosts

Usage

LINUX

git clone https://github.com/iam-shanmukha/adblocker.git
sudo python adblocker.py

Adblocker.py

WINDOWS [Beta]

Assuming you already installed Python

git clone https://github.com/iam-shanmukha/adblocker.git or Download Zip File
Extract Zip
open cmd with administrator Priviliages.
cd to extracted folder. for ex cd C:\Users\username\Downloads\adblocker-master
and run python adblocker.py

AdBlocker.Py

Credits

ADAWAY
HOSTs SOURCEs: https://github.com/AdAway/AdAway/wiki/HostsSources

About

Simple python script to block ads in Linux/Windows System by adding AdAway's default hosts sources to /etc/hosts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages