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?
pihole does not deceypt https traffic, so it cant change dom. even if it could, it can’t modify stuff added by js.
also it can only block whole domains, not individual urls
It’s a DNS server and does not have the same capabilities as the router
It has all the same info the browser will eventually get.
It does not. Not just because of the previous reason but also because most traffic is encrypted nowadays (https) which means that even the router can’t read/modify the traffic to the device.
Another issue is that some things blocked by uBlock are hard to detect with static analysis in comparison to reading the rendered HTML.
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’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?
pihole does not deceypt https traffic, so it cant change dom. even if it could, it can’t modify stuff added by js.
also it can only block whole domains, not individual urls
It’s a DNS server and does not have the same capabilities as the router
It does not. Not just because of the previous reason but also because most traffic is encrypted nowadays (https) which means that even the router can’t read/modify the traffic to the device.
Another issue is that some things blocked by uBlock are hard to detect with static analysis in comparison to reading the rendered HTML.
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?