this post was submitted on 26 Jan 2024
664 points (95.5% liked)
Memes
45661 readers
1171 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm not technical enough, but why can't pihole do as much as ublock? It's at the router level before anything gets to the browser, it has all the same info the browser will eventually get.
Shouldn't it be theoretically possible to do the same?
uBlock has direct access to the DOM and so can modify what the browser renders. For example, YouTube ads are hosted on the same domains as their videos and so PiHole cannot block them, but uBlock can.
I don't understand why tho, what is it that let's unblock distinguish ad video vs real video?
Unlock can read the code being sent to your browser and act accordingly. It's much more granular.
Pihole can only see you're going to YouTube.com. It cannot see what YouTube is sending you.