Tuesday, February 5, 2013

browscap to JS navigator

Browscap facilitate to identify what a visitor's browser is capable of, an improved version of native php function get_browser(). You need to update browscap.ini which resides on your server periodically in order to get the correct browser capabilities.

In the recent past with rise of the JS world, you can detect HTML5, CSS3 browser capabilities with the use of JS libraries like modernizr or even with simple JS navigator.

browscap output,


JS navigator output,


No comments:

Post a Comment