-
Notifications
You must be signed in to change notification settings - Fork 3
/
redirect.html
32 lines (27 loc) · 1.11 KB
/
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
32
<!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="./node_modules/hellojs/src/hello.polyfill.js"></script> -->
<!-- <script src="./node_modules/hellojs/dist/hello.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-polyfills/0.1.43/polyfill.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/hellojs/1.19.5/hello.js"></script>
<!-- Crosscheck your path-->
</body>
</html>