navigator : Navigator Object « Navigator « JavaScript Tutorial

JavaScript Tutorial
1. Language Basics
2. Operators
3. Statement
4. Development
5. Number Data Type
6. String
7. Function
8. Global
9. Math
10. Form
11. Array
12. Date
13. Dialogs
14. Document
15. Event
16. Location
17. Navigator
18. Screen
19. Window
20. History
21. HTML Tags
22. Style
23. DOM Node
24. Drag Drop
25. Object Oriented
26. Regular Expressions
27. XML
28. GUI Components
29. Dojo toolkit
30. jQuery
31. Animation
32. MS JScript
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
JavaScript Tutorial » Navigator » Navigator Object 
17. 1. 1. navigator

The navigator object is a built-in object that is used to obtain information related to the Navigator browser.

Properties and Methods of the navigator object

Property/MethodDescription
appCodeNameRepresents the code name of the browser
appNameRefers to the official browser name
appVersionRefers to the version information of the browser
javaEnabled()Function that tests to see that Java is supported in the browser
languageRefers to the language of the browser
mimeTypesRefers to an array of MimeType objects that contains all the MIME types that the browser supports
platformA string representing the platform on which the browser is running
pluginsRefers to an array of Plugin objects that contains all the plug-ins installed in the browser
plugins.refresh()Checks for any newly installed plug-ins
preference()Allows reading and setting of various user preferences in the browser
taintEnabled()Tests to see whether data-tainting is enabled
userAgentString that represents the user-agent header


<html>
    <head>
    <title> Example of the navigator object</title>
    </head>
    <body>
    <script language="JavaScript">
    <!--
       document.write(navigator.appName);
    -->
    </script>
    </body>
    </html>
17. 1. Navigator Object
17. 1. 1. navigator
17. 1. 2. navigator.appCodeName
17. 1. 3. navigator.appName
17. 1. 4. navigator.appVersion
17. 1. 5. navigator.javaEnabled()
17. 1. 6. navigator.language
17. 1. 7. navigator.mimeTypes
17. 1. 8. navigator.mimeTypes[1].description
17. 1. 9. navigator.mimeTypes[1].type
17. 1. 10. navigator.platform
17. 1. 11. navigator.plugins
17. 1. 12. navigator.plugins[3].description
17. 1. 13. navigator.plugins.refresh()
17. 1. 14. navigator.preference()
17. 1. 15. navigator.taintEnabled()
17. 1. 16. navigator.userAgent
17. 1. 17. Associative object arrays of Navigator
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.