advertisement

browser compatibility detection simple php script (Html 5 support or not)

Update with the new things always great. As a web developer we have lots of advance using new technologist, but we all know web sites executes on clients web browsers what we do if our clients web browser not compatible with our new thing. this was a huge proble to me in past. so I code this simple code avoid from it.



How this work. 

When your page loading this script check user browser is support Html 5. if its yes nothing happen and site loads normally. but it's not the javascript prompt window inform user this browser is not compatible with this web site and force user to update the browser to visite site without any problems by update browser using Browser-update org

Browser compatibility detection Code :


Post a Comment

0 Comments