this post was submitted on 21 Nov 2023
669 points (97.3% liked)

Programmer Humor

19187 readers
1098 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 33 points 10 months ago (2 children)

I read in a different post that the code was misinterpreted to be a 5 second sleep before showing the video, but instead was waiting 5 seconds to execute some anti-ad-block script. Still pretty sleazy either way.

[–] A_Very_Big_Fan 27 points 10 months ago* (last edited 10 months ago) (1 children)

There's a video going around of a guy using a useragent spoofer to prove that it only does this on non-Chromium browsers. So I don't think it's necessarily anti-adblock, but it could be interpreted that way when you consider Google's plans to implement DRM in Chromium.

[–] vpklotar 7 points 10 months ago (1 children)

Had a look at Louise Rossmans video yesterday about this and from what he showed he got it on all browsers.

Video: https://youtu.be/_x7NSw0Irc0?si=My5Nurw4XqdjDH8l

[–] [email protected] 2 points 10 months ago

Here is an alternative Piped link(s):

https://piped.video/_x7NSw0Irc0?si=My5Nurw4XqdjDH8l

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] Solemarc 11 points 10 months ago

When I went rooting around to find it. I figured it was some QA process that starts 5 seconds after the video loads (the timer seems to be async and the code sends a promise off while it waits). Of course, it's all minified JS so it's a huge pain to read.