-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathoffline.html
More file actions
42 lines (42 loc) · 908 Bytes
/
Copy pathoffline.html
File metadata and controls
42 lines (42 loc) · 908 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<html>
<style>
html, body, #wrapper {
height:100%;
width: 100%;
margin: 0;
padding: 0;
border: 0;
}
#wrapper td {
vertical-align: middle;
padding: 25px;
text-align: center;
}
p {
color: #FFFFFF;
}
</style>
<script type="text/javascript">
function queryString(name) {
var varString = window.location.search.substring(1);
var vars = varString.split("&");
for(i=0;i<vars.length;i++) {
var varPair = vars[i].split("=");
if(varPair[0] == name) return varPair[1];
}
return "";
}
</script>
<body bgcolor="#232323">
<table id="wrapper">
<tr>
<td><p>
<script type="text/javascript">
var str = queryString("errorStr");
document.write(decodeURIComponent(str));
</script>
</p></td>
</tr>
</table>
</body>
</html>