1193
submitted 11 months ago by whfsdude@dmv.social to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Blackmist@feddit.uk 67 points 11 months ago

User Agent String: A browser's way of lying about what it is, in order to not trigger some server's arcane content filtering system.

[-] maynarkh@feddit.nl 53 points 11 months ago

User Agents should be optional. The whole idea of the Internet was that the server should respond the same way to the same request regardless of the client's qualities.

[-] essteeyou@lemmy.world 4 points 11 months ago

There are qualities that are useful for having different responses, like supported language, whether the browser accepts gzipped content, etc.

[-] spiderplant@lemm.ee 8 points 11 months ago

Fuck that shit.

  • You can do language codes in the URL to serve different versions of content
  • If your browser can do TLS then it should be able to handle gzip content or alternatively if the internet didn't allow cookies and scripting in your browser then it would have been safe to use TLSs built in compression

Check out the Gemini protocol if you want to see that a lot of HTTP spec stuff is completely unnecessary

[-] essteeyou@lemmy.world 1 points 11 months ago

So if I type in "google.com" what language should the front page be in?

[-] theterrasque@infosec.pub 6 points 11 months ago

First language in Accept-Language header that server also support

[-] essteeyou@lemmy.world -3 points 11 months ago

Yeah, User Agent is also a header, which the other guy is saying shouldn't exist.

[-] spiderplant@lemm.ee 0 points 11 months ago* (last edited 11 months ago)

Some widely spoken language I imagine, Chinese, Spanish, English I don't care. Since .com is intended for commercial use, the language of the companies biggest market makes sense here as well.

You're also forgetting that the likes of google.ru, google.nl and google.every_other_country_code exist.

Also there are plently of websites the have language selection in the site that overrides that header, look at Wikipedia.

There are plently of sites in non english languages that cater to non English speakers only, not every site has or needs 10 different translations.

At this point we also have translation engines in the browser so for pages in languages you don't know, that you absolutely need to access, you can use it to understand the page to a decent level and/or be able to navigate to a version in your language if available.

[-] essteeyou@lemmy.world 0 points 11 months ago

Who said anything about English?

[-] spiderplant@lemm.ee 1 points 11 months ago* (last edited 11 months ago)

I just used it as an example since it's pretty much the lingua franca of the internet and it's what we are currently using. The same argument applies to any other language.

My main point with that bit was that a lot of content exists on the internet without any translated versions and the world hasn't ended because of this, look at non English Lemmy instances.

[-] xcjs@programming.dev 1 points 11 months ago

The issue is that some of those techniques are only useful after the client has rendered the content rather than before.

[-] spiderplant@lemm.ee 1 points 11 months ago

But they are useful and completely valid ways of dealing with the problem.

It is not the end of the world if I have to click am extra once or twice to change the language. Hell most websites have much harder processes just to reject cookies.

Personally I would rather err on the side of slightly extra work the odd time I'm not on a website not in my native language than have an extra bit of information that can be used to track me.

Again take a look at the Gemini protocol, its a perfectly fine browsing experience without all the cruft.

[-] xcjs@programming.dev 1 points 11 months ago* (last edited 11 months ago)

Valid, but not standard and more inconvenient.

Additionally, you act like query strings can't be used to track you when they certainly can.

Most of the advantages of Gemini are implemented in the client and not the protocol itself.

load more comments (8 replies)
load more comments (10 replies)
load more comments (10 replies)
this post was submitted on 12 Dec 2023
1193 points (96.6% liked)

Technology

59414 readers
1644 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS