Ultra fast cheap  linux and windows hosting
javascript tutorial Browse Basic JavaScript Tutorial
Browse JavaScript Script resources
Browse javascript FAQS

javascript tutorial
buy template
Home >> Tutorials >> Advanced javascript tutorials
Javascript Browser checking:
This piece of javascript code will check which browser (and version) your user is running.


<script language="javascript">

var browserName = navigator.appName;
var browserVersion = navigator.appVersion;

var browserVersionNum = parseFloat(browserVersion);

function detectbrowser()

BrowserInfo = " (Your browser is " + browserName + " " + browserVersionNum +")";

alert(compatible + BrowserInfo);



<a href="javascript:detectbrowser()">Checkbrowser</a>




Page contents: itechies.net - Learn how to do Browser checking using javascript.
javascript tutorial
javascript book
Buy this book