This program blocks ad servers globally by blacklisting them in /etc/hosts
.
Beware that if you have a HTTP server running on ports 80 or 443 (if you don't
know what a HTTP server is, you probably don't) then you may get additional log
entries related to apps or websites trying to display ads. If so, the possible
solutions are to change the listening port of the web server or provide the
-t
option to redirect them to another server.
(Download the script first).
- Download and install Python 2.7.
- Open a Command Prompt with administrator privileges and run
C:\path\to\python adaway.py
- Run
python adaway.py
(python
must be in version2.x
, if it isn't, trypython2.7
orpython2
).
- AdAway (the original Android app)