/ Published in: JavaScript
Use this to create a conditional statement for chrome.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> if (navigator.userAgent.toLowerCase().match('chrome')) document.write('This is a Chrome browser'); </script>
URL: http://www.astralmedia.org