Return to Snippet

Revision: 31591
at September 9, 2010 06:41 by allnatural


Initial Code
<script type="text/javascript"> 
    if (navigator.userAgent.toLowerCase().match('chrome'))
        document.write('This is a Chrome browser');
</script>

Initial URL
http://www.astralmedia.org

Initial Description
Use this to create a conditional statement for chrome.

Initial Title
Chrome Conditional Javascript Statement

Initial Tags
javascript

Initial Language
JavaScript