javascript navigator vendor, vendorSub
@March 15, 2008, 1:22 a.m.
vendor, vendorSub | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a |
Read-only | |
Return a string identifying the browser product that employs the Mozilla engine. In Netscape 6, the vendor property returns Netscape6, while Netscape 7 returns simply Netscape. The vendorSub property returns the version release in detail (in string form). If you want to test for a minimum version, convert the navigator.vendorSub value to a decimal floating-point number before performing a comparison against your minimum requirement. |
|
Example | |
if (parseFloat(navigator.vendorSub, 10) >= 6.2) { // OK, meets minimum NN requirement } |
|
Value | |
String. |
|
Default | |
Browser dependent. |
Powered by Linode.