Team:Korea U Seoul/temp

From 2012.igem.org

(Difference between revisions)
 
(9 intermediate revisions not shown)
Line 1: Line 1:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
<html>
-
<html xmlns="http://www.w3.org/1999/xhtml">
+
<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(){
-
//Browser = {chrome : Browser.a.indexOf('chrome') != -1}
+
userAgent = new String(navigator.userAgent);
-
//function whatKindOfBrowser() {if (Browser.chrome) {alert("hey");}
+
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