News for hackers. Stuff that matters.
Re:Ad blocking with Raspberry Pi and Pi-hole by greencar on Monday May 04, 2020 @05:57PM (#23073807)
> Use it for ad-blocking in your home network and to finally browse the web, watch videos etc. without annoying ads.

It doesn't really do this as well as a browser adblocker, YouTube ads for example can't effectively be blocked with pihole

Re:Ad blocking with Raspberry Pi and Pi-hole by alfalfasprout on Monday May 04, 2020 @07:28PM (#23074599)
Actually, it most cases I find it significantly beats what a normal in-browser adblocker will do. More importantly, it does this for my phone, etc.

But yes self-hosted ads, etc. won't be blocked. For that, there are other solutions.

Personally, I use both.

Re:Ad blocking with Raspberry Pi and Pi-hole by schwartzworld on Monday May 04, 2020 @06:04PM (#23073891)
it's not really fair to compare it to an in-browser adblocker that way, especially since using them isn't mutually exclusive. PiHole blocks ads whether you are in a browser or not, an instant benefit for everybody on your WiFi network.
Re:Ad blocking with Raspberry Pi and Pi-hole by BLKNSLVR on Monday May 04, 2020 @06:24PM (#23074079)
In fact, one of the best things about Pi-hole network wide blocking is the removal of those 5 to 10 second otherwise unskippable ads in apps.
Re:Ad blocking with Raspberry Pi and Pi-hole by 416chad on Monday May 04, 2020 @06:17PM (#23074029)
Exactly this. Ads in places like news apps disappear, a big plus for pihole.
Re:Ad blocking with Raspberry Pi and Pi-hole by Firehawke on Monday May 04, 2020 @11:12PM (#23076067)
Absolutely. Defense in depth; Pi-hole will cover devices that you can't install an ad-blocker on while the ad-blocker will cover some edge cases where Pi-hole can't do it.

It should never be considered an "or" situation; you want "both" as much as possible.

Re:Ad blocking with Raspberry Pi and Pi-hole by x3blah on Tuesday May 05, 2020 @12:11AM (#23076404)
Watching videos with Javascript turned off, there are no ads.

Google tries to force users to turn on JavaScript by needlessly making the YouTube website "require" JS to be turned on to play videos.

However it is easy to play the videos without using JavaScript using just basic HTML.

Example

https://news.ycombinator.com/item?id=23076239

Re:Ad blocking with Raspberry Pi and Pi-hole by christian_fei on Monday May 04, 2020 @06:44PM (#23074248)
Re:Ad blocking with Raspberry Pi and Pi-hole by bluntfang on Tuesday May 05, 2020 @07:44AM (#23078965)
a lot of in browser ad blockers are based on url and css selector patterns. Meaning that if the developer updates the site which changes the dom, the ad blocker may not work.