Ublock origin
Or both, both is good.
You don’t need uBlock if you have a pihole properly configured, but you still need a pihole even if you have uBlock properly configured. uBlock is a half measure. An incomplete solution, but better than nothing.
uBlock can do much more refined and targeted blocking than a pihole because it has access to the entire page that is being served and can selectively filter elements. The pihole only has access to the DNS name, and DNS blocking is a rather crude tool to block ads that can be defeated by serving the ads from the same domain.
For example: a pihole doesn’t work for blocking YouTube ads, because they come from the same domain.
pihole doesn’t work for blocking YouTube ads
It does if I block the entire youtube domain. Checkmate, corps
I migrated to Pi-hole in 2016 so believe me when I say that uBlock Origin is perfectly complimentary because it removes the blank space that is made for ads.
Ublock will work if you don’t go and install a bunch of proprietary apps. Also it has the ability to block elements on the DOM so its more effective for web pages.
Assuming everyone will have pihole “configured correctly”, not mentioning how to do that, saying you don’t need ublock if you have a pi hole (it does more than black ads). All in all a terrible comment.
I don’t bother with PiHole because DNS-based ad blocking quite frankly sucks and is only getting worse.
I’m still waiting for someone like AdGuard to release a MITM proxy that does something similar to uBlock Origin and strips ads directly from the network traffic
But until then, browser extensions are good enough for most usecases (Firefox user so the adblocking ones work on mobile as well)
Firefox is on its deathbed currently, so you might consider switching next year
What makes you say so?
Did you even read through that thread?
nope, why?
Works cited:
I’ve used Pihole for so long… I bought the original pi as a curiosity but Pihole was best use of it.
Here is the problem though, which i assume applies to all adblockers: everything is now “sponsored links”. Google, Amazon, etc. They are of course blocked which is getting really frustrating.
So what do we do now? Is there a way to just send fake telemetry? Saw VLANs mentioned. Is that the way? I’m getting older and life gets busier and it’s harder for me to keep up on this.
Privacy Badger, if you want to try to reduce your tracking data.
Privacy Possum, if you want to send bullshit tracking data to cost companies money.
ad nauseam can do something similar
What’s the difference between Possum and Adnauseum?
I get around it by using an alternative search engine such as searxng.
My block ads Magisk module:
Well you can’t just say
My block ads Magisk module:
without providing the name/link
IDK I just found it in a Telegram group, but a simple search can find you what you want.
Well i don’t exactly trust a website that i have never seen before with root access to my phone (well their application anyways)
Does YouTube trigger his anti-adBlock with a piHole?
YouTube ads come from the same server as the content so you can’t isolate them with pihole
No because pi-hole does not block YT ads
uBlock Origin on Firefox still works great if you keep the filters up to date every once in a while c:
And there’s also AdBlock plugin in OpenWRT
I never could figure out how well it works. It is enabled along side openvpn, but van’t figure out hif it works.
Tell me, what is your most reliable ad list source?
Personally I use Stevenblack’s default one, in combination with a personal one that i’ve curated since 2019. Previously I used to use MVPS, however that list’s included in the SB default.
Stuff that tends to slip through the cracks with a lot of the common lists includes things like admiral 🤬, user session recorders, and app monitoring platforms like sentryio (useful for development, but I didn’t consent my activity being recorded). There’s also Bauer Media Group garbage that I’ve resorted to creating firewall packet inspection rules for, because they’re using a subdomain technique that’s even worse than Admiral’s autogenerated domains - at least with those you can use DNS analysis tools like dnsdumpster to uncover the rest of autogenerated domains in that batch
Lightweight app for android, no root required https://f-droid.org/packages/dnsfilter.android/
At that point just set your Android’s private DNS to “base.dns.mullvad.com” or “dns.adguard.com”. It’ll save you a VPN slot and save battery.
You run into issues where the website detects what you’re doing and blocks your access? It happens if I use ad blocking through my vpn.
It’s happens sometimes but I must say, not very often. I could probably count on one hand how many times that have happened through my many years of using pihole.
Ublock Origin should prevent this, it’s better than any other adblocker
I don’t quite understand the use-case for the pi-hole. Why use it, when one could simply use something like µBlock Origin?
cant use adblocking on xbox/roku/etc.
pihole blocks ads on those.
deleted by creator
They are kind of two separate things.
Pi-Hole will work on literally every device on your network. It can block ads on smart TVs, cell phones, etc. It can prevent certain forms of tracking on video doorbells, voice assistants, cameras, etc. You can also set up custom DNS to restore online service to old game consoles or to host web services at home.
You also get all the metrics. For example, I can see that my computer reaches out to my printer several times a minute and that the Oculus app for my Quest 2 was reaching out to its servers even when the app was “closed”.
You could also use it as a sort of parental control. It can provide one set of block lists to the parent’s devices and a different one to the kids devices. Or you could do the same with IoT devices so they are only allowed to reach out to the services they need to be able to run.
uBlock is still important though. It’s possible to get around a DNS filter like Pi-Hole by serving ads from the same domain that the core service is served through. uBlock Origin can do things like block YouTube ads for instance.
With a pi hole, you’re basically setting up a DNS server that has built in abilities to stop ads.
What that means is, you can point your router (or any device really) at that DNS server (pi hole) to block ads.
Ublock is good.
Due to remote work constraints, a pi hole doesn’t play nicely with their stuff and I can’t be bothered to figure out a work around. Mostly because it’s my wife’s remote work, and their IT is hesitant to talk with me about it - I get it, I wouldn’t do that at work (I’m in IT).
So I use ublock on Firefox on both my desktop and phone, plus I run through a VPN that blocks ads and malware for everything else. The VPN is a separate use case, but that’s just an added benefit.
It blocks ads in apps on your cell phone too, not just in browsers
Can do that with Adguard’s DNS too. It’s what I use, which also works on mobile networks.
Speed and efficiency. Why waste time downloading ad content just for it to be hidden by the browser when you can simply stop them from being downloaded in the first place?
I’m a pfBlockerNG guy myself. I believe it does just about the same thing where it prevents DNS lookups of blacklisted domains. It also does ip blocking of known bad ips, it can do this because it runs directly on my firewall. Although pfsense is freebsd and not linux.
I’ve wanted to do this for some time, but everyone tells me there’s no way to make it work without constantly updating the blacklist. Is it really such a hassle?
No lol It’s so low maintenance that it took me about a month to figure out why it kept crashing. The answer was completely my fault as I forgot I gave the container running it only about 8gb of disk space and it filled up.
I only log into the console to check some metrics/verify no issues/run updates and I maybe do that once every 3 months. I don’t have my pi-hole set up the same way as the basic tutorial but as far as lists go I just subscribed and forgot.
Worth noting my pihole is really only good for banner ads or ads that rely on DNS. YouTube ads require a clientside adblocker so far.
I forget about mine until I need to log into it to allow/block something, then I run my updates if I remember to think about it.
So like once every few months at best. Usually 2x/yr. Still works fine.
You can install community blacklists on it that it automatically downloads each day.
Here’s a popular set of lists that allows you to pick which lists you want. https://github.com/blocklistproject/Lists
Well, if you use big “aggressive” lists, you’ll find that it blocks a lot including stuff you actually do want to see, then you have to comb through the recently blocked list and whitelist that which you actually need.
OR, you only use the oisd.nl list, which is supposed to keep everything you do wish to use in a working state. I have used it for years now I have yet to whitelist something. Once a year I update the pihole, but otherwise don’t touch it.
You can start with a DNS blocker in the meantime. It’s just configuring your router to use an ad-blocking DNS server like Mullvad, Control D, or Aha for example. No additional hardware, tools, or setup required. Then when you’re ready, you can try setting up a pihole.
When I want an ad gone, I reach for brand name soda. Brand name soda, it means you’re smart.
or dns