Template:Team:KIT-Kyoto/browser
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <script type="text/javascript | + | <script type="text/javascript"> |
function kit_ua() { | function kit_ua() { | ||
- | var | + | var kit_ua = navigator.userAgent.toLowerCase(); |
- | if ( | + | if (kit_ua.indexOf('chrome') != -1 || kit_ua.indexOf('safari') != -1 || kit_ua.indexOf('opera') != -1 || kit_ua.indexOf('msie') !=-1 || kit_ua.indexOf('trident') !=-1 ) { |
return true; | return true; | ||
} | } |
Revision as of 06:24, 11 September 2014