Mozilla.com

  1. MDC
  2. Main Page
  3. DOM
  4. window.navigator.vendorSub
Redirected from En/Navigator.vendorSub

window.navigator.vendorSub

« Gecko DOM Reference

Summary

vendorSub is the substring of the vendor having to do with the vendor version number.

Syntax

venSub = window.navigator.vendorSub 

Parameters

  • venSub is a string.

Example

window.navigator.vendorSub 
// returns "6.1" where the vendor part of userAgent is 
// Netscape6/6.1

Notes

vendorSub is yet another 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 navigator.productSub, navigator.userAgent, navigator.vendor

Specification

DOM Level 0. Not part of specification.

Languages

Page last modified 17:00, 22 Nov 2007 by Mgjbot

Files (0)