4 ms·
I see nobody has posted it, so here is a very lightweight alternative - it redirects all known ad-hosting sites to 127.0.0.1 http://someonewhocares.org/hosts h
by anon4 12y ago
I see nobody has posted it, so here is a very lightweight alternative - it redirects all known ad-hosting sites to 127.0.0.1
http://someonewhocares.org/hosts http://someonewhocares.org/hosts
- narfz 12y agoi use the same approach. (https://twitter.com/beanieboi/status/546398095182163968 https://twitter.com/beanieboi/status/546398095182163968) it's not as elegant as hiding the HTML elements, you see some question marks on the page if safari couldn't load the resource. but overall i'm pretty pleased and it gets the job done.
- zeitg3ist 12y agoIsn't it better to use something invalid (like 0.0.0.0) instead of 127.0.0.1? If you have a development server on your machine, rerouting ads to 127.0.0.1 means lots of useless requests...
- jmiwhite 12y agoThe author briefly discusses this and has made a 0.0.0.0 version available here: http://someonewhocares.org/hosts/zero/ http://someonewhocares.org/hosts/zero/
- qwerta 12y agoIt also works on android phones
- joshstrange 12y agoI use this as well (The zero version) but I wonder if there are any performance hits from doing this. I would think not but I've had sites (on desktop and mobile) lock up while waiting for something to load. Most of the time I assume this is some scrolling or "navigation" plugin that hasn't loaded yet (and not ads) but I'd love to read an analysis on hosts vs adblock vs µBlock.