navigator.vendorSub is a read-only property that always returns the empty string ("") in any browser (MDN). It remains for legacy / compatibility — not for useful vendor details.
Read the notes below before you rely on this property. Prefer feature detection when support is limited.
Syntax
Use navigator.vendorSub. Start with this line.
JavaScript
navigator.vendorSub
Call
What it does
navigator.vendorSub
Primary signature.
Built into the browser. Read navigator.vendorSub on Navigator — no import required.
Library declarations
JavaScript
navigator.vendorSub
Parameters
This member has no parameters beyond those shown in the signature.
Skip empty checks.vendorSub is always falsy as a condition.
Detect the API. Capability checks answer “can I use this?”
Log length optionally. Confirms the empty-string contract.
Keep a fallback. Progressive enhancement beats legacy sniff fields.
Compatibility
Browser Support
Navigator.vendorSub returns a string that is always empty. MDN marks it Baseline Widely available (since July 2015). Not Deprecated, Experimental, or Non-standard.
✓ Baseline Widely available
Navigator.vendorSub
Present in all modern browsers. The return value is "" everywhere — a compatibility stub, not a useful identifier.