Code Snippet: How to detect what browser is viewing the page
September 9th, 2011
<script> var BROWSER_AGENT = navigator.userAgent.toLowerCase(); if(BROWSER_AGENT.indexOf("msie") != -1) { //this browser is supported } else { //this browser is not supported } </script> |
