forked from rinick/hashdown
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
74 lines (69 loc) · 2.78 KB
/
index.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<head>
<title>Hashdown</title>
<meta charset="utf-8">
<meta name="hashdownad" content="enabled">
<meta name="description" content="Hashdown Viewer">
<meta name="keywords" content="Hashdown,Base2e15,Base64,tadpole code,shadow code,tadpoleCode,shadowCode,hidden text,braillnary,蝌蚪解码,蝌蚪码,隐藏文字,隐形码,布莱天书,加密,安全">
<meta name="author" content="Rick Zhou">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles/add-ons.css">
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/markdown.css">
<style>
body {
font-family: Helvetica, Arial, Freesans, clean, sans-serif;
background: -webkit-linear-gradient(-45deg, #ffffff 0%,#f0f0f0 100%);
background: linear-gradient(135deg, #ffffff 0%,#f0f0f0 100%);
}
</style>
</head>
<body>
<div><a href='/edit.html' style='margin-left:20px'><img src="hashdown.png" class='viewerIcon'></a>Hashdown Viewer</div>
<div style='position:absolute;top:0;right:0'>
<div class="languageDiv" style='display:none'><img id="cnflag" src="cn.png"><img id="usflag" class="currentLan" src="us.png"></div>
</div>
<div class='viewerbox'>
<div class='markdown viewer'>
<div class='viewerpassbox' style='display:none'>
<label class='error'>Password required</label><br>
<label>Password:</label> <input type="password" id="opPass"><br>
<button class='decode'>Decode</button>
</div>
</div>
<div style='margin: 2px 0 40px 0'><a id='editLink' class='lan'>edit this Hashdown</a>
<a class='lan' href='edit.html#link#'>create a new Hashdown</a></div>
</div>
<iframe class="outdatedbrowser" id="outdatedbrowser" style="display:none" ></iframe>
<script type="text/javascript">
function init() {
if (window.location.hash == ''){
window.location.replace('edit.html');
return;
}
var ua = navigator.userAgent;
if (ua.indexOf("MSIE ") > 0) {
if (ua.indexOf("MSIE 9.") > 0 || ua.indexOf("MSIE 8.") > 0 || ua.indexOf("MSIE 7.") > 0 || ua.indexOf("MSIE 6.") > 0) {
document.getElementById('outdatedbrowser').style.display = "";
document.getElementById('outdatedbrowser').src="outdatedbrowser.html";
return;
}
}
var s = document.createElement('script');
if (navigator.userAgent.indexOf('(Dart)') !== -1) {
s.type = 'application/dart';
s.src = 'index.dart';
} else {
s.src = 'index.dart.js';
}
document.body.appendChild(s);
}
init();
</script>
<script src="marked.min.js"></script>
<script src="lzma_worker-min.js"></script>
</body>
</html>