Hacker News new | ask | show | jobs
by joelwilliamson 1916 days ago
Just use an adblocker. The only time I see see ads on YouTube are when I'm using someone else's browser.
5 comments

A lot of people watch YouTube using their smart TVs.
Yes, not so smart now…

Edit: However I do marvel at the infrastructure in place to support this, even at scale it can’t be cheap.

You mean Youtube's infrastructure? Don't worry, Google and Youtube are rolling in enough green dough thanks to those very ads they are serving. They can afford all the infrastructure they need and the engineers to build it.

How? Google made $182 billion in revenue in 2020, of which $41 billion was profit [1] (mostly in ads), and Youtube alone is on track to generate $15 billion of those [2] on an annualized basis (also almost all in ad revenue).

[1] https://abc.xyz/investor/static/pdf/2020Q4_alphabet_earnings... [2] https://www.theverge.com/2020/2/3/21121207/youtube-google-al...

Alternate/hacked YouTube apps exist that you can install on your TV that won't show ads...

Also, if you cast stuff to the TV, you only need a modded version of YouTube on your phone - you don't need to make any changes to the TV.

YouTube Vanced[1] for Android is awesome. It supports background playback and allows you to block all ads as well as community posts, surveys, premium movies, and just about anything else. They recently integrated SponsorBlock[2], which allows you to block in-video intros, outros, sponsored sections, and subscription reminders.

However it uses microG, which has long had an open issue with v2 of Google's Cast API. The issue was recently closed however I don't believe it was solved. However it is still possible to work around this. I ended up writing a quick script on my phone that uses pychromecast to initialize the cast so that it can be passed off to YouTube Vanced.

It's been a while since I've cast anything but are you certain that ads are blocked when casting from an app that blocks ads? In my experience with casting, the video is always streamed directly from the content provider's servers (YouTube) to the cast receiver (smart TV) with ads intact. You would need to mirror your phone's display in order to block ads.

[1]: https://vancedapp.com

[2]: https://sponsor.ajay.app

[3]: https://github.com/microg/GmsCore/issues/79

Casting from YouTube vanced is ad-free. Not sure how it does it - perhaps by immediately fast forwarding the ads
Newpipe on Shield TV.
They should be named dumb TVs because that what they are. I dont even own a TV anymore an I have no plan to change that. I just need the display to watch stuff not freaking android box. More money for high quality monitor that wont be obsolete because it no longer gets system updates.
Smart as in 'Stephen Hawking smart' or smart as in 'Machiavellian smart'? Things can be one or the other (but not exclusively).
The word "smart" is so overloaded with definitions as to be nearly useless in such discussions. I like this set of definitions:

- Intelligence is being able to observe systems [1] and understand how they work. Both Hawking and Machiavelli objectively have this.

- Smartness is being able to use one's understanding of a system [1] to achieve one's own goals. Both Hawking and Machiavelli objectively have this.

- Wisdom is being able to choose the right goals. This is where there is a clear distinction between Hawking and Machiavelli, and since it requires moral judgment to deliberate whom of them chooses "the right goals", this cannot have an objective answer.

By the way, it's easy to see with these systems that existing machines that are supposedly "intelligent" and "smart" are in fact neither.

[1] "System" shall be interpreted in the broadest way possible, i.e. "any network of interconnected actors", e.g. a machine or the financial system or any society of people.

If you are on HN, you should know how to install a PiHole between your router and smart TV. There, no more ads.
That’s incorrect. YouTube ads are served from the same domain as content.
or their phones
Newpipe or adaway, depending whether you rooted the phone or not.
Exactly. I don't understand people not having an ad blocker... Otherwise pi-hole is a good option for your local network.
Pi-hole is amazing, but before standing one up, be aware that it does not block YouTube ads without additional configuration.
What additional configuration is required? I was under the impression it couldn't be blocked at all due to ads being served from YouTube.com domain or similar.

Would really like to implement it on my own PiHole

Let me offer an alternative answer to tubularhells' unhelpful answer:

There isn't really a good, efficient easy way to block YouTube ads with Pi-Hole. It's a constant cat-and-mouse game of finding the appropriate domain regexes and keeping them updated.

This has been answered on the net already. Do your research, it takes 2 minutes to find.
I agree, but to anyone considering setting up Pi-Hole make sure that you don't go "overboard" with blocklists. I did and ended up blocking too much, to where regular Instagram posts, post messages, etc. were removed. It also slowed down my internet considerably, but that could be due to the excessive blocking.

We ended up uninstalling Pi-Hole and removing it from our network, which was a pain in the neck. I remember that simply removing the blocklists wasn't enough to undo the damage, which is why we had to go with the removal from network route.

I've considered revisiting Pi-Hole in the future, and I'd definitely be more cautious that time around.

With pihole I keep getting playback error when video starts basically cause the ad can't play. If I refresh then it plays normally cause YouTube doesn't show the ad the 2nd time being tricked it was already watched.
As far as I know you cannot install adblockers on the Android app for YouTube for example, and probably on other platforms too. I've looked for one but found none.
YouTube Vanced, NewPipe block ads by default. Both also use SponsorBlock, at least Vanced does, and NewPipe has a fork that adds it.
I have ad blocker. I block all ads at the DNS level. I don't think you can block some of the ads on YT. Is that possible with browser plugins?
I use uBlock Origin and I never see a single ad on YouTube. This is for my laptop though; I still haven't figured a decent solution for my phone.
Did you try Firefox with uBlock Origin on android? It works pretty well for me
That's definitely an option. I was hoping for a solution that works with the native app.
There's uBlock Origin for Firefox on Android
Bookmarklet can help

video.currentTime = video.duration

Adaway.
You probably use an adblocker that receives money from Google to pass through a small amount of ads. 'AdBlock Plus' is one example that does it. Many others as well.

'uBlick Origin' is currently the only one AFAIK that is truly open source and not sponsored by any ad network.

In brave I don't get YT ads w/ default settings. In firefox I use the extension "enhancer for youtube".
There’s a 16-digit code that I pass YouTube that results in 0 ads on the platform. Can’t recommend it enough.
For Android blockada seems to fail to block them
I see no ads, cookie or GDPR popups, no newsletter annoyances, nothing since I set uBlock Origin full nuclear and just ticked all the boxes.
Which adblocker and block lists do you use?

While I used to find this true, uBlock Origin seems to no longer block YouTube ads.

It doesn’t work against in video ads.
something works, because I don't get ads on my desktop browser at home (firefox + uBlock Origin + Privacy Badger + PiHole) but I do see them when I'm away from home on the app on my tablet.

OK, because ppl are gonna ask, I checked: I'm not seeing ads in the app on my tablet at home, so its the PiHole cutting ads. Ooops, I'm not seeing ads on my desktop when using my smartphone as a hotspot either (no PiHole), so Firefox + uBO + PB also blocks YT ads.

uBO still seems to block all Youtube ads for me with little to no additional config. I don't watch much youtube on my computers though, so I could very well be mistaken.
That's where SponsorBlock comes in! https://sponsor.ajay.app/