-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdelayBrowserDetection.html
More file actions
executable file
·33 lines (26 loc) · 1.17 KB
/
delayBrowserDetection.html
File metadata and controls
executable file
·33 lines (26 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body style="background-color:lightgrey;">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src=https://fontawesome.com/b4e29333a3.js></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bowser/1.9.3/bowser.min.js"></script>
<script type="text/javascript">
function Redirect()
{
window.location="https://www.google.com";
}
if (bowser.name == "Internet Explorer"){
var newContent='<center><h2 class="centered" style="font-family: Arial;font-style:oblique">Please wait while the document load.<br><br><br><I class="fa fa-spinner fa-spin" style="font-size:96px"></I></center>'
document.write(newContent);
setTimeout('Redirect()', 5000);
}
else{
var newContent='<center><h2 class="centered" style="font-family: Arial;font-style:oblique">This website uses technology that will work best in Internet Explorer. Please open page in IE7 or higher.<br><br><br><I class="fa fa-internet-explorer" style="font-size:140px"></I></p></center>'
document.write(newContent);
}
</script>
</body>
</html>