forked from MrSwitch/hello.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redirect.html
31 lines (24 loc) · 827 Bytes
/
redirect.html
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
<!DOCTYPE html>
<!--
FACILITATES OAuth 1,1a,2 AUTHENTICATION
To link to this page in HelloJS define the redirect_uri.
This page is used for authentication as well as POST using the Iframe+form+hash communication hack.
-->
<html>
<head>
<title>Hello, redirecting...</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<link href="./assets/redirect.css" rel="stylesheet" />
</head>
<body>
<div class="loading"><span>•</span><span>•</span><span>•</span></div>
<h2>Please close this window to continue.</h2>
<script>
window.onbeforeunload = function(){
document.getElementsByTagName('h2')[0].innerHTML="Redirecting, please wait";
}
</script>
<script src="./src/hello.polyfill.js"></script>
<script src="./src/hello.js"></script>
</body>
</html>