Re: HOWTO: Amend your hosts file to block ads (by site)
What should I say?
I just thought about the problem and wrote the script from scratch in 'Perl' with 'vim' as my favourite editor.
Perhaps you have a specific question you would like me to answer? If so, just ask.
As a start, just have a look at the script. You can just download the last .zip file from:
The script is just a textfile that you can open. Then you can see if you can understand it. It is fairly staightforward and there is some inline documentation, so I hope it is self-explanatory.
I doubt it is really useful to recreate the script except if you have a better idea. The script is open-source and licensed under the GPL, so feel free to check it out, change it, give it to your friends and so on.
If you have any suggestions, just let me know.
I hope this is an answer to your question.
Last edited by Magnetizer; October 29th, 2012 at 08:21 PM.