Re:Adblock via /etc/hosts
by nes350 on Friday February 12, 2016 @02:18AM
(#11085767)
This won't work, at least on Chrome. It blocks all cross-domain requests to localhost[1]. Even if the target is used with a domain that resolves to 127.0.0.1, or has CORS completely disabled with "Access-Control-Allow-Origin: *".
[1] https://code.google.com/p/chromium/issues/detail?id=67743