414
submitted 3 days ago by [email protected] to c/[email protected]

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] 5 points 2 days ago

Popularized? That gets less than 100k downloads a week

[-] [email protected] 12 points 2 days ago* (last edited 2 days ago)

Most developers just write their own feature checks (a lot of detections are just a single line of code) or use a library that polyfills the feature if it's missing.

The person you're replying to is right, though. Modernizr popularized this approach. It predates npm, and npm still isn't their main distribution method, so the npm download numbers don't mean anything.

[-] [email protected] 3 points 2 days ago

Neat, thanks for clarifying! I’ve never heard of it

[-] [email protected] 2 points 2 days ago

It used to be huge.

this post was submitted on 20 Sep 2024
414 points (98.1% liked)

Programmer Humor

19222 readers
98 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