Browser infomation : Browser Info : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Browser Info »

 

Browser infomation



<html>
<HEAD>

<title>Browser infomation</title>

<SCRIPT>

document.write('Browser: ' + navigator.appName);
document.write('<br>Version: ' + navigator.appVersion);
document.write('<br>Codename: ' + navigator.appCodeName);
document.write('<br>Language: ' + navigator.language);
document.write('<br>Platform: ' + navigator.platform);
document.write('<br>Plugins:');

for (i=0; i<navigator.plugins.length;i++){
    document.write('<br>&nbsp; ' + navigator.plugins[i].name);
}

document.write('<br><br>User Agent: ' + navigator.userAgent);
document.write('<br>Java Enabled: ' + navigator.javaEnabled());
document.write('<br>URL: ' + document.location.href);
document.write('<br>Title: ' + document.title);
document.write('<br>Referrer: ' + document.referrer);
document.write('<br>Host: ' + location.host);
document.write('<br>Host Name: ' + location.hostname);
document.write('<br>Path Name: ' + location.pathname);
document.write('<br>Port: ' + location.port);

</SCRIPT>



</HEAD>

<BODY>
</body></HTML>
           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Window Browser
» Browser Info