HTML DOM platform Property
Complete Navigator Object Reference
Definition and Usage
The platform property returns the operating system platform.
Syntax
Example
<html>
<body>
<script type="text/javascript">
document.write("<p>Platform: ")
document.write(navigator.platform + "</p>")
</script>
</body>
</html>
|
Try-It-Yourself Demos
Detect the visitor's browser and browser version
More details about the visitor's browser
All details about the visitor's browser
Alert user, depending on browser
Complete Navigator Object Reference
|