Live data from Hacker News

Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

twitter.com

121–130 of 433 posts

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#121
I think the only "happy ending for everyone" if Google is going to ban ad-blockers for YouTube is if they make the ads less annoying.

What makes YouTube's ads annoying:

- the number of them

2 ads at the start is way too much. 1 max.

Middle of video ads should be content creator controlled.

- the ads they choose to show

Google showing me the same few very annoying (to me) ads and gives me no option to avoid those specific ads.

I have done the unthinkable and given up on YouTube as a daily site I visit. Now I will only visit it if I have to - e.g. someone link to it. Yes, I hate those specific ads that much.

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#122

Earlier quoted context omitted.

> and just not allow any video to play at all if an ad blocker is detected They intend to "go nuclear" and do that via their "Web Integrity API" https://arstechnica.com/gadgets/2023/07/googles-web-integrit... Also previously discussed a few times here on HN.

They don't even need that. They can just to server-side ad insertion into the HLS feed.

They don't even need that. They can just not play video without a cookie.

Fakeable of course, but it's not DOM element removal, it's not how current blockers (have had to) work.

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#123

Earlier quoted context omitted.

How about you stop using YouTube? Getting annoyed by ads is understandable, but server space isn't free.

How about you stop using ad block/popup blockers altogether? Getting annoyed by ads is understandable, but server space isn't free on any website. In fact, how about we all rally together and start encouraging addings ads on HackerNews to help pay for the servers?

I mean sure, I am fine with any service I am actively using either charge me money via subscription or monetize is some other form. If I don't want that to happen, I'd not use that service.

If the costs of managing HackerNews is so high, sure let them sell ads or offer a subscription service. But if you are comparing HackerNews hosting costs to YouTube, you need a reality check. HackerNews probably costs less than 1000$ a month to host, everything included. I am sure YouTube spends more than that every second buying new storage servers.

I don't think most people realize the scale of YouTube - it's offering anyone on this planet to upload as many videos as they want, in resolution as high as 8K, while also offering the ability to monetize their content for creators. I think that is pretty damn impressive. I use YouTube often, and I am totally fine with them making money off my data via ads (when I am not paying for YouTube premium).

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#124

Earlier quoted context omitted.

At this point, I consider blocking ads to be a moral obligation. By giving in, you enable Youtube to abuse users further

Honestly, I don't think preventing ad blockers is abusive. Hosting videos for free is simply not sustainable. It does not work. We aren't entitled to getting everything on the internet for free.

I am in the same boat. They are providing a service. Ads suck so I pay for. The evil angle is tiring. If they are so evil why even use YouTube at all.

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#125
post #93
post #8

Earlier quoted context omitted.

This, in turn, will spawn user scripts which work around the detection. Any client-side solution will be an arms race between Google and user script/adblock devs. The only real way to prevent it is to withhold the video stream from the CDN until the client has streamed the full ad and/or bake it into the video stream. My impression is that Twitch does this for its live streams (although not VODs).

> This, in turn, will spawn user scripts which work around the detection. Any client-side solution will be an arms race between Google and user script/adblock devs No, you can't adblock remote attestation. Trust me, the whole idea is cryptographically sound (with a proper implementation of course), people have been building out the remote attestation/TPM space for 20 years now. It is unambiguously possible to use a T…

>AFAIK at this point most of the "ripping" of decryption keys/etc for streaming content happens not by attacking the TPM, but by using android devices that are allowed to skate with reduced security modes, and just having a giant stack of them so when one device gets banned they throw it away and move onto the next.

Without a TEE (eg. trustzone), you're not going to get anything above 540p, at least with widevine. Note TEE is baked into the SoC itself, so while it's not impossible to find a bug, it's much harder than finding a exploit in android or system apps.

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#127

Earlier quoted context omitted.

Creators get even more money if you instead donate to their Patreon or click the big "Thanks" button under the video to contribute to their channel directly. Best part is you don't have to turn off your adblock!

Good luck donating to every single person you watch.

Thanks, but I don't need luck since I mainly watch videos from the same channels. Throwing each some spare change now and then is not hard.

I reckon you don't subscribe to premium because you think every random channel of every random video you happen to watch deserves your money? I certainly don't feel bad when my adblock prevents me from wasting any more of my time when I click on a clickbait-ty Linus Tech Tips video.

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#128
post #102
post #80

Earlier quoted context omitted.

We treat google how they treat us, as exploitive as possible.

All this performative righteousness is only going to end up hurting your cause in the long term. If a major site offers an ad-free option, and people refuse to take it, what does it tell the executives? What does it tell other publishers who are considering their monetization options? How do you think a business should respond to users that neither refuse to watch ads nor pay, can't be bargained with (see above), but…

the amount of ads on youtube has grown exponentially and i highly doubt this was because of profitability issues.

Re: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message

#130
Feel free to pilfer:

    ! 2023-10-14 https://www.youtube.com
    youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
    youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
    youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
    youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)

    ! 2023-10-13 https://www.youtube.com
    www.youtube.com##.opened
    www.youtube.com##tp-yt-paper-dialog.ytd-popup-container.style-scope > .ytd-popup-container.style-scope

    ||accounts.google.com/gsi/*$xhr,script,3p

    ##.ytp-endscreen-content
    youtube.com##.ytp-scroll-min.ytp-pause-overlay
    youtube.com##.ytp-ce-covering-shadow-top
    youtube.com##.ytp-pause-overlay
    youtube.com##.ytp-ce-covering-overlay
    youtube.com##.ytp-ce-element

    ! 2021-06-10 https://www.statista.com
    statista.com##.vertical-align-content.default.otCenterRounded

    instagram.com##.RnEpo
    instagram.com##body:style(overflow: auto !important)

    ! 2023-07-08 https://www.roadandtrack.com
    www.roadandtrack.com##journey-modal-meter
This might not be the "correct" solution, but it works for me. Has Gorhill (uBO's developer) provided a better solution? If so, would someone mind posting the full and complete set of steps?
Post reply on HN