News for hackers. Stuff that matters.
Re:Adblock Plus is probably the reason Firefox and Chrome ar... by garethsaxby on Saturday December 27, 2014 @05:44PM (#8804249)
The issue with that, in Windows at least, is that host lookups become a lot slower with a larger hosts file; a local caching DNS server with a block list is possibly a better solution, and one I think is already adopted by some.
Re:Adblock Plus is probably the reason Firefox and Chrome ar... by benbristow on Saturday December 27, 2014 @05:51PM (#8804267)
Another issue with this design is that Adblock extensions hide the blocked elements, using the hosts file leaves loads of 404's all over websites and it looks rather ugly.
Re:Adblock Plus is probably the reason Firefox and Chrome ar... by Turing_Machine on Saturday December 27, 2014 @06:34PM (#8804406)
Way back when, I wrote a simple web server that ran on localhost that served empty files for any .html, .js, etc. request and 1x1 pixel images for any .gif, .jpg, etc. request.

It worked pretty good. As a poster upthread noted, though, the big issue with this approach is maintaining the list.