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

Firefox

20351 readers
88 users here now

/c/firefox

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


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 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 2 years 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 2 years 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 2 years 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 2 years 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 2 years ago

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