This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.
Navigator.vendorSub read-only property is the substring of the vendor having to do with the vendor version number. The specification allows browsers to always return the empty string, so don't rely on this property to get a reliable answer.
<var>venSub</var> = window.navigator.vendorSub
window.navigator.vendorSub // returns "6.1" where the vendor part of userAgent is // Netscape6/6.1
vendorSub is a component of the full user agent string. It refers to the version number that the vendor themselves have given the current browser (as opposed to the version of the product, which may be different). In Netscape 6.1, the productSub is given as "5.0" and the vendorSub is "6.1." See also
|WHATWG HTML Living Standard
The definition of 'NavigatorID.platform' in that specification.
|Living Standard||Initial definition|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Feature||Android||Chrome for Android||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.