this post was submitted on 21 Nov 2023
483 points (98.6% liked)

Firefox

17042 readers
657 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

Firefox users are reporting an 'artificial' load time on YouTube videos. YouTube says it's part of a plan to make people who use adblockers "experience suboptimal viewing, regardless of the browser they are using."

you are viewing a single comment's thread
view the rest of the comments
[–] PoliticalAgitator@lemm.ee 14 points 7 months ago (1 children)

The user agent is in the request header, so it's known before any response is sent from YouTube.

I don't know if that's what they're doing, because it's not possible to know what their server code is doing, making it a far better place to hide sleazy code.

[–] ours@lemmy.world 2 points 7 months ago (1 children)

But the server outputs code for the browser to run. Doesn't matter what the server does as long as the browser gets there same output.

Server side they could stall based on the agent but it's not the case here. Whatever is happening seems to be client side.

[–] kogasa@programming.dev 2 points 7 months ago (1 children)

The client code can be modified depending on the request headers before being returned by the server

[–] candybrie@lemmy.world 2 points 7 months ago (1 children)

They're looking at the code returned by the server with a chrome user-agent and it's the same.

[–] ADTJ@feddit.uk 5 points 7 months ago

They only said that snippet was present, not that all of the client code was the same