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} | var Browser = {a : navigator.userAgent} | ||
- | function | + | function whatTheFuckIsThis(){ |
+ | userAgent = new String(navigator.userAgent); | ||
+ | if(userAgent.search("iPhone")>-1){ | ||
+ | alert('iiiiiiiiiiiiiiiiiiiiiiiiii'); | ||
+ | } | ||
+ | } | ||
</script> | </script> | ||
</head> | </head> | ||
<body> | <body> | ||
- | <input type="button" value="브라우저 체크" onclick="javascript: | + | <input type="button" value="브라우저 체크" onclick="javascript:whatTheFuckIsThis();" /> |
</body> | </body> | ||
</html> | </html> |
Revision as of 17:50, 26 September 2012