Welcome To Paki Tigers Community


 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Detect the visitor's browser and browser version

Go down 
AuthorMessage
Admin
Admin


Posts : 102
Join date : 2008-09-25
Age : 27
Location : Pakistan

PostSubject: Detect the visitor's browser and browser version   Sat Oct 04, 2008 5:37 am

Hello EveryBody

This is the source to detect the visitor's browser and browser version

<html>
<body>
<script type="text/javascript">
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=parseFloat(b_version);
document.write("Browser name: "+ browser);
document.write("<br />");
document.write("Browser version: "+ version);
</script>
</body>
</html>

Thanks
Back to top Go down
View user profile http://paki-tigers.forumotion.com
 
Detect the visitor's browser and browser version
Back to top 
Page 1 of 1
 Similar topics
-
» How do i get browsername and browserversion with Webdriver?
» do not run browser, when start selenium testing
» Avoid browser closing on selenium RC shutdown
» browser runs minimized at startup in selenium RC
» New user extenstion for browser related testing.

Permissions in this forum:You cannot reply to topics in this forum
Welcome To Paki Tigers Community :: Programming / Designing / Source Code :: Html, Java Script & Css-
Jump to: