-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathredirect.html
More file actions
26 lines (24 loc) · 881 Bytes
/
redirect.html
File metadata and controls
26 lines (24 loc) · 881 Bytes
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
<!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="/node_modules/hellojs/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/src/hello.js"></script>
</body>
</html>