Mozilla.com

  1. Mozilla Developer Center
  2. Main Page
  3. DOM
  4. window.navigator.appName
Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Parameters
  4. 4. Example
  5. 5. Specification
Redirected from En/Navigator.appName

window.navigator.appName

Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Parameters
  4. 4. Example
  5. 5. Specification

« Gecko DOM Reference

Summary

Returns the official name of the browser.

Syntax

appName = window.navigator.appName 

Parameters

  • appName is the name of the browser as a string.

Example

dump(window.navigator.appName); 
// prints "Navigator" to the console for NS6

Specification

DOM Level 0. Not part of specification.

Languages

Page last modified 15:00, 11 Nov 2007 by Mgjbot

Files (0)