This property returns the product name of the current browser.
Syntax
productName = window.navigator.product
Parameters
productName is a string.
Example
<script>
function prod() {
dt = document.getElementById("d").childNodes[0];
dt.data = window.navigator.userAgent;
}
</script>
<button onclick="prod();">product</button>
<div id="d"> </div>
// returns "Gecko"
|
Notes
product is that portion of the full user agent string that comes directly after the platform. In the user agent for Netscape 6.1, for example, the product is "Gecko" and the full agent string is the following:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010725 Netscape6/6.1
|
Specification
DOM Level 0. Not part of specification.