Team:Korea U Seoul/temp
From 2012.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var Browser = {a:navigator.userAgent.toLowerCase()} | var Browser = {a:navigator.userAgent.toLowerCase()} | ||
- | Browser={chrome : Browser.a. | + | Browser={chrome : Browser.a.indexOf('chrome') !=-1} |
function whatKindOfBrowser() { if(Browser.chrome) {alert("hey"); | function whatKindOfBrowser() { if(Browser.chrome) {alert("hey"); | ||
} | } |
Revision as of 17:10, 26 September 2012