Re:Give Google Contributor a try: Pay to remove ads
by ised on Friday September 25, 2015 @09:02AM
(#10277876)
For 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.
Re:Give Google Contributor a try: Pay to remove ads
by stephengillie on Friday September 25, 2015 @03:59PM
(#10280338)
Can your method block cookies and frames from a domain, but allow Javascript and XHR?
Re:Give Google Contributor a try: Pay to remove ads
by ised on Friday September 25, 2015 @10:55PM
(#10281921)
I 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.
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.