5 ms·
Not being very familiar with browser standards, I found this bit pretty funny: navigator.appName is now set to “Netscape” This may seem like a sneaky attempt
by resu_nimda 13y ago
Not being very familiar with browser standards, I found this bit pretty funny:
navigator.appName is now set to “Netscape”
This may seem like a sneaky attempt to trick developers, but this behavior is actually specified in HTML5.
- eCa 13y agoThis seems like a way to force developers to use the correct way to detect which browser is used: Check for the specific thing you want to do.
- sp332 13y agoI thought it was because (when the standard was defined) some web servers would only serve compliant content to Netscape browsers. edit: according to aclimatt, it was used for frames detection.
- samatman 13y agoI like the idea that in a thousand years, two pieces of code may well be asking one another: "What is the Navigator?" "Netscape", for absolutely no reason, in a piece of ancient, sealed code that no one but a classics scholar would touch.