this post was submitted on 20 Sep 2024
453 points (98.3% liked)

Programmer Humor

19557 readers
1004 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
 

alt textCaption

Web dev: What browser is visiting the page?

User agent string:

A screenshot of a browser. The URL bar reads firefox://settings, a button on the URL bar is labelled Netscape, a popup from the button reads: "You're viewing a secure Opera page", and the web page title reads "Chrome settings".

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 130 points 1 month ago (25 children)

Functionally useless. With the web standardized, we shouldn't need user agents anyway. It would be more beneficial to ask "do you support X, Y, and Z?"

[–] [email protected] 39 points 1 month ago (4 children)

It's called feature detection and it goes a long way back, even before Modernizr popularized it.

[–] [email protected] 7 points 1 month ago (3 children)

Popularized? That gets less than 100k downloads a week

[–] [email protected] 2 points 1 month ago

It used to be huge.

load more comments (2 replies)
load more comments (2 replies)
load more comments (22 replies)