Last active
December 26, 2015 06:29
-
-
Save WebReflection/7107617 to your computer and use it in GitHub Desktop.
navigator.version (major, minor, revision) where exposed and possibl updated to be as cross browser as possible
All of these 3
these work for me
along with IE
on Windows XP
and Win7:
- Firefox 24
- Chrome 30
- Opera 12
updated, thanks!
Returns the OS version (10.9.0 under Chrome, Mavericks) for me... is this what it should? Wondering why it is assigned to "navigator.version" then. Wouldn't it be better called "navigator.osVersion"?
that's about the WTFPL :) Thanks.
P.S. yes, 10.9 makes sense, I haven't updated to that and I am on 10.8.5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested With
On Windows XP and Windows 7
Please visit this test page and tell me if the result is correct (first line) and your OS is not mentioned in above list, thank you.
Firefox does not show the OS within its user agent. If there's an undefined value, most likely that's Firefox Browser/OS