Guide:Blocking ads: Difference between revisions

→‎YouTube Vanced: fixing link to the successor project
No edit summary
(→‎YouTube Vanced: fixing link to the successor project)
 
(12 intermediate revisions by 2 users not shown)
Line 41:
[https://www.reddit.com/r/LifeProTips/comments/iocluy/lpt_after_a_miscarriage_do_a_few_online_searches/ In this particularly depressing example], users on reddit are sharing tips on how to avoid being re-traumatised by ads following a miscarriage.
==Targeting you==
={{Easy wins=}}
==Browsers==
Every major browser supports addons or extensions. Using this functionality to install an adblocker is one of the easiest and least complex ways to take matters into your own hands.
===[https://github.com/gorhill/uBlock uBlock Origin]===
[[File:Screenshot of the uBlock Origin UI on Firefox.png|thumb|uBlock Origin's dashboard]]
This free and open source add-on uses community compiled blocklists to monitor the outgoing browser requests, cancelling those which are going to a know known ad servers. You may get it [https://github.com/gorhill/uBlock from here].
====Improving the defaults====
While the default settings are excellent for adblocking, uBlock Origin is also an excellent tool to help preserve your privacy and make your online experience better.
 
<!--TODO:Cleanup this section, to make it more visually more appealing. Maybe a template?-->
* '''Click on the uBlock Origin shield icon''' - found in the top right of your browser usually
* '''Select 'Open the Dashboard'''' - looks like a set of interlocking cogwheels
Line 68 ⟶ 70:
* '''Hit 'Apply Changes' and 'Update Now' and close the tab'''
 
==Android devicesSmartphones==
===Android===
If you have an Android 9 or later device, you can change your DNS provider to a provider which will refuse to resolve ads, thus giving you DNS based tracking and content blocking.
Android supports DNS based filtering as well as few browser-based solutions.
====Private DNS====
[[File:Secure-dns-android.png|thumb|Android's Private DNS entry window. Yours may look slightly different depending on the Android interface you're using.]]
If you have an Android 9 or later device, you can change your DNS provider to a provider which will refuse to resolve ads, thus giving you DNS based tracking and content blocking. Android supports [[w:DNS over TLS|DNS over TLS]] (DoT) and you can therefore use any DoT supporting provider. We're partial to [https://blahdns.com/ BlahDNS], a non-profit open source provider, but an [https://adguard-dns.io/kb/general/dns-providers/ exhaustive list of virtually every adblocking or filtering DNS] exists.
 
Once you've picked your DNS provider, head over to your settings and under network settings (usually) you can enter the DNS provider details.
 
====Browsers====
On Android, there are a number of browser-based adblocking options.
=====[https://www.bromite.org/ Bromite]=====
If you're more partial to Chromium-based browsers, a good choice is [https://www.bromite.org/ Bromite]. Although it is built on Chromium (the same technological foundations as Google's {{p|Chrome}}), it includes adblocking and removed most of the spyware issues in Chromium. Upon the browser test, there is no unsolicited requests made by Bromite to its own server or to third parties.
 
====YouTube====
=====[https://github.com/revanced YouTube ReVanced]=====
YouTube ReVanced is a modified version of the official YouTube app which does not display ads. It also integrates [https://sponsor.ajay.app/ SponsorBlock], a database of YouTube sponsor segments (when the adds are baked into the videos) so you can optionally skip those as well.
 
===iOS===
iOS supports so-called content blockers, which can be thought of as adblock-like mechanisms. [https://adguard.com/en/adguard-ios/overview.html AdGuard] is usually the go-to solution, but many other do exist.
<!--{{A step further}}-->
{{Going all the way}}
==Network-wide blocking==
There are number of ways that you can block ads network-wide. This means that anyone connected to your network, via WiFi or Ethernet, will benefit from adblocking without any further setup or intervention. This is a very attractive option if you have lots of devices on your network, and you don't want to manage their options manually. The additional benefit is that this will enable adblocking on devices where this is not normally possible to adblock, such as Smart TVs.
===DNS change===
You can change your DNS provider for your modem/router to an adblocking provider which will refuse to resolve ads, thus providing you with network-wide adblocking. This is essentially the same concept as DNS-based adblocking described in the Andoroid section of this guide, further up the page, but since your modem/router usually controls the DNS forwarding for all the devices on your network, the net result is that all the devices benefit, not just one.<br> You can change your DNS provider by accessing your modem/router's web configuration page. There are many hundreds of different modems and/or routers so it is impossible to give you specific instructions, but generally you would visit your device's admin interface (usually http://192.168.1.1 OR http://192.168.0.1 OR http://10.0.0.1). If it asks you for a password, this password is usually either on a sticker on the device, or in the manual or you can usually just search the internet for something like <code>DEVICE NAME default login</code> or if you set it yourself, you should know what it is. Once you log in, simply find the section called DNS, and change the DNS servers to one of the adblocking options.<br>We're partial to [https://blahdns.com/ BlahDNS], a non-profit open source provider, but an [https://kb.adguard.com/en/general/dns-providers exhaustive list of virtually every adblocking or filtering DNS] exists.
 
===[https://pi-hole.net/ PiHole]===
[[File:Pi-hole Screenshot 2.png|thumb|PiHole's interface, after install.]]
PiHole is a FOSS software package which can take over DNS resolution and add many bells and whistles to allow you to manage and log how DNS resolution is performed on your network.
 
It is usually deployed on a RaspberryPi, a little credit-card sized [[w:single-board computer|single-board computer]] which you have to purchase separately for approximately US$35, but it is also possible to deploy it on other platforms and operating systems, such as Docker.
 
====Limitations of DNS-based filtering====
However, these solution do have their limits, unfortunately. This DNS server setting is not something devices on your network have to use and follow. It is more of a suggestion, and any device on your network is free to ignore it and perform DNS lookups on its own. While most devices respect this setting, many dubious devices such as privacy-invading Smart TVs, [[w:IoT|IoT]] devices and Amazon/Google/Facebook devices usually ignore it (because they are savvy to this trick, and are purposefully disregarding your preferences to invade your privacy). If this is the case for you, try one of the alternative options below.
===Custom router firmware===
By far the most robust network-wide adblocker is found in certain custom firmware for certain routers. These custom firmwares are, essentially, alternate operating systems for your router, which you can deploy if you own a compatible router model. These firmwares usually have advanced features, and this particural selection also has network-adblockers that can actually prevent devices on your network from doing their own DNS lookups and force them to respect the settings you have set.
 
You choice of firmware will depend on your router usually, but these are prominent projects:
 
* [https://freshtomato.org/ FreshTomato]
* [https://dd-wrt.com/ DD-WRT]
* [https://www.asuswrt-merlin.net/ Asuswrt-Merlin] - this project only supports Asus routers, but if you own a compatible Asus router (or are in the market for one) it is hard to go wrong by using this project
** Asuswer-Merlin does not have an adblocker out of the box, but you can easily add it by using [https://diversion.ch/ Diversions] project