Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 633 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 633 Bytes

JSBrowserDetect

Javascript Browser Detection Script

This is a JavaScript "Browser Detection library" written by me for all of whom who wants to detect the name and version of the browser. This script provides you methods which you can use in your code to get the browser properties.

Example usauage :

if(browserName == "Microsoft Internet Explorer" && majorVersion == 10) { alert("Congrats!!!"); }

document.write('' +'Browser name = '+browserName+'
' +'Full version = '+fullVersion+'
' +'Major version = '+majorVersion+'
' )

Have fun!!!