Re:Support for the IPFS Protocol – Firefox Bugzilla
by pythux on Thursday January 21, 2021 @03:07PM
(#25863537)
Blocking by hostnames is a big part of adblocking, but if you want to really block all ads and also not break the Web, you need an in-browser tech to do things like element hiding, scriptlet injections, etc. Which cannot be done via host files.
Re:Support for the IPFS Protocol – Firefox Bugzilla
by rangoon626 on Friday January 22, 2021 @01:23AM
(#25868982)
The other thing is that hosts file records appear to not hold in Firefox by default because of the https everywhere and the secure dns features they added.
Drives me bonkers sometimes when I forget to turn off
Re:Support for the IPFS Protocol – Firefox Bugzilla
by dleslie on Thursday January 21, 2021 @01:53PM
(#25862527)
That doesn't scrub all advertisements without also going full-nuclear on certain social media sites and video services.
Re:Support for the IPFS Protocol – Firefox Bugzilla
by arduinomancer on Thursday January 21, 2021 @03:42PM
(#25863972)
That doesn't work if the website serves the ads from the same domain as the content.
For example YouTube ads.
Re:Support for the IPFS Protocol – Firefox Bugzilla
by GoblinSlayer on Thursday January 21, 2021 @05:14PM
(#25865165)
0.0.0.0 youtube.com
Re:Support for the IPFS Protocol – Firefox Bugzilla
by mp3geek on Friday January 22, 2021 @06:06AM
(#25870590)
Blocking ads via hosts file is a very basic method, delivers no flexibility to get around js/css, whitelisting sites.
Acceptable only in a Pi-hole environment, but not in a stand alone browser.
Re:Support for the IPFS Protocol – Firefox Bugzilla
by michaelmrose on Thursday January 21, 2021 @03:53PM
(#25864089)
How do you selectively turn off this functionality for websites that don't work with such blocking?
You can block ads just by editing your hosts file. There's no need to depend on any browser's particular functionality in order to get rid of them. Nor on extra hardware (Pi-hole), for that matter. I have a cron job download a prefilled copy from a popular github repository [1] daily.
[1] https://github.com/StevenBlack/hosts