Visit Mozilla.org

DOM:window.navigator.appName

From MDC

« Gecko DOM Reference

Contents

[edit] Summary

Returns the official name of the browser.

[edit] Syntax

appName = window.navigator.appName 

[edit] Parameters

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

[edit] Example

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

[edit] Specification

DOM Level 0. Not part of specification.