forked from rinick/hashdown
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathedit.html
148 lines (138 loc) · 5.31 KB
/
edit.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html>
<head>
<base target="_blank">
<title>Hashdown</title>
<meta charset="utf-8">
<meta name="hashdownad" content="enabled">
<meta name="description" content="Hashdown Editor">
<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">
</head>
<body>
<div class='sizebox'>
<div class="headerbox">
<a class="a_lan" href='https://deepmess.com/en/hashdown/'><img src="hashdown.png">
<h1 class='lan'>Hashdown<span style='font-size:10px'> 1.0.9</span></h1></a>
<div class="headeroptions hlayout">
<div class="inputPassword">
<label>Password:</label><br/>
<input type="password" id="opPass">
</div>
<div class="selectCode">
<label>Encode Mode:</label><br/>
<select style='width:90px'>
<option class="codeOpt" value="braillnary">Braillnary</option>
<option class="codeOpt" value="link">Link</option>
<option class="codeOpt" value="base2e15">Base2e15</option>
<option class="codeOpt" value="tadpole">TadpoleCode</option>
<option class="codeOpt" value="shadow">ShadowCode</option>
</select>
</div>
<div class="selectLanguage">
<div class="languageDiv">
<img id="cnflag" src="cn.png">
<img id="usflag" class="currentLan" src="us.png">
</div>
</div>
</div>
</div>
<div class="bodybox hlayout" style='display:none'>
<div class="inputbox plainbox">
<div class="title padding">
<h2 id='inputnavTab' class='lan tabbtn'>Plain Text</h2>
<div class='btnBar hlayout'>
<button class='blue' title='Plain Text' >A</button>
<button title='Both' >A|#</button>
<button title='Markdown' >#</button>
</div>
</div>
<div id="inputnav" class="padding" style="top:35px;">
<textarea id="inputtext" placeholder="Input text here and click the encode button"></textarea>
</div>
</div>
<div class="inputbox markdownbox" style='min-width:320px;display:none'>
<div class="title padding">
<h2 class='lan tabbtn'>Markdown</h2>
<div class="menu" tabindex='0'>
<label>Samples</label>
<div>
<div class='lan'>Open sample will overwrite current text</div>
<label>markdown_basis</label>
<label>markdown_style</label>
<label>shadowcode</label>
<label>README</label>
</div>
</div>
</div>
<div id="markdown" class="padding markdown" style="top:35px">
</div>
</div>
<div class="dividerbox">
<button class="red encodeArrow" title="Encode">►
<div class='encodeMarkdown' style='display:none'>#</div>
</button>
<button class="decode decodeArrow" title="Decode">►</button>
</div>
<div class="inputbox encodedbox">
<div class="title padding">
<h2 id='encodedTab' class='lan tabbtn'>Encoded</h2>
</div>
<div class="padding" style="top:35px;">
<textarea id="outputtext" placeholder="To decode text, paste it here and click the decode button"></textarea>
</div>
</div>
</div>
<div class='vbodybox' style='display:none'>
<div class="padding" style="bottom:65px;top:5px">
<textarea id="vinputtext"></textarea>
</div>
<div id='vmarkdown' class="padding markdown" style="bottom:65px;top:5px;display:none">
</div>
<div class="vtoolbar">
<button class='red encodeV'>Encode</button>
<button class='decodeV decode'>Decode</button>
<button class='markdownVBtn' title='Markdown' >#</button>
<button class='undoV' title='Undo' disabled>↶</button> <br/>
<h2 class='error errorpos'></h2>
</div>
</div>
<iframe class="outdatedbrowser" id="outdatedbrowser" style="display:none" ></iframe>
<div class='downloadDiv' style='display:none'>
<a class='lan a_lan' href='https://github.com/rinick/hashdown'>Hosted on GitHub</a>
</div>
<div class='helpDiv'>
<a class="lan a_lan" href='https://deepmess.com/en/hashdown/'>Help</a>
</div>
<script type="text/javascript">
function init() {
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";
document.querySelector('div.headeroptions').style.display = "none";
return;
}
}
var s = document.createElement('script');
if (navigator.userAgent.indexOf('(Dart)') !== -1) {
s.type = 'application/dart';
s.src = 'edit.dart';
} else {
s.src = 'edit.dart.js';
}
document.body.appendChild(s);
}
init();
</script>
<script src="marked.min.js"></script>
<script src="lzma_worker-min.js"></script>
</div>
</body>
</html>