4 ms·
> And you don't. You can do it for free. DNS is quite effective at blocking ads. uMatrix is a much more effective way of using DNS to block ads than HOSTS file
by stephengillie 11y ago
> And you don't. You can do it for free. DNS is quite effective at blocking ads.
uMatrix is a much more effective way of using DNS to block ads than HOSTS file editing. You can select only certain items from certain domains. Sure, I block Google cookies on most sites, but those sites are dependent on scripts coming from the same domains. With uMatrix, I can permit just the scripts that the site needs.
And I can quickly and easily test different resource combinations to customize my website experience.
- ised 11y agoFor blocking, I use zone files, not the HOSTS file. I can select specific subdomains; I can also use wildcards. I doubt there is anything an ad blocker can block that I cannot block using DNS. But if you have examples, post them and let's see.
- stephengillie 11y agoCan your method block cookies and frames from a domain, but allow Javascript and XHR?
- ised 11y agoI accept session cookies only, I keep Javascript turned off except when I am forced to turn it on (banking, etc.), and I really do not like frames. If there is some site with frames that I willingly use regularly, I just bust out of the frame and access the contents directly. Hence what you are describing does not sound like something I desperately need to do. The only way I can answer your question is if you give me an example: a website with ads to block. Then I'll test it. I should note though that cookies are not ads; the original topic was blocking ads - you are shifting the goalposts.