1

I'd prefer a low-level approach, e.g. changing the hosts file would be perfect (but AFAIK only domains, not directories can be rerouted there). I'm looking for a way to block ads without resorting to AdBlock or a similar app-based solution. Is there a way?

9
  • Have you considered Hardware Level DNS redirection like OpenDNS?? The account panel has a user configurable blacklist. – eyoung100 Jul 13 '15 at 21:46
  • Thanks for the idea, I'm looking into it. But I'd prefer (and am still hoping for) a native, i.e. Linux- or Chrom*-based solution – jaam Jul 13 '15 at 22:05
  • OpenDNS is hardware level, ie. works by updating options in your Routers etc. The only software you need to configure it is a web browser. The only time you need to add software is when you're using a Bridged Setup. If you don't know what a Bridged Setup is, you probably don't need to worry. See Linux IP Updater for Dynamic Networks. ddclient has always been native. – eyoung100 Jul 13 '15 at 22:10
  • The OpenDNS blacklist allows to block domains with implied wildcards -- e.g. listing domain.com would block *.domain.com but how to block a directory without blocking its domain? – jaam Jul 13 '15 at 22:43
  • The blacklist can do global blocking as you suggested, or per page blocking if you list the entire link. Listing link by link implies a specific block, while allowing parts of the global domain through. Implied Blocking is done with wild cards where as Explicit Blocking is done with exact linking. – eyoung100 Jul 13 '15 at 22:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.