Team:Korea U Seoul/temp

From 2012.igem.org

(Difference between revisions)
 
(7 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
-
<title>Untitled Document</title>
 
<script type="text/javascript">
<script type="text/javascript">
var Browser = {a : navigator.userAgent}
var Browser = {a : navigator.userAgent}
-
function whatIsThis(){alert(Browser.a);}
+
function whatTheFuckIsThis(){
 +
userAgent = new String(navigator.userAgent);
 +
if(userAgent.search("iPhone")>-1){
 +
alert('Welcome iPhone User!');
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
 +
}
</script>
</script>
</head>
</head>
<body>
<body>
-
<input type="button" value="브라우저 체크" onclick="javascript:whatIsThis();" />
+
<input type="button" value="브라우저 체크" onclick="javascript:whatTheFuckIsThis();" />
</body>
</body>
</html>
</html>

Latest revision as of 18:01, 26 September 2012