-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresult.html
More file actions
58 lines (58 loc) · 1.63 KB
/
Copy pathresult.html
File metadata and controls
58 lines (58 loc) · 1.63 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Atomic Number Cipher Generator</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<base href="/">
<script>
window.onload = function(){
if (location.origin === "https://actiniumn404.github.io"){
document.querySelector("base").setAttribute("href", location.origin + "/cipher/")
}else{
document.querySelector("base").setAttribute("href", location.origin+"/")
}
}
</script>
</head>
<body>
<h1 style="font-size:40px;">
Results for:
<span id="resulttext">LOREM IPSUM</span>
<a href="/">
<button class="button" style="padding:10px;">
< Back
</button>
</a>
</h1>
<section>
<h1 class="headertext">
Text (for chats)
<button class="button" style="padding:10px 10px;" onclick="copy(encoded.join(' '))">
Copy
</button>
</h1>
<span id="textfile"></span>
</section>
<section>
<h1 class="headertext">
Image
<a href="#" id="download" download="Atomic_Number_Cipher_Results">
<button class="button" style="padding:10px 10px;">
Download
</button>
</a>
<button class="button" style="padding:10px 10px;" onclick="copy(canvas.toDataURL())">
Copy Image Link (Data:image)
</button>
<!--<button class="button" style="padding:10px 10px;" onclick="copyimage()">
Upload to <a href="https://imgur.com" target="_blank">imgur</a> and then Copy Image Link
</button>-->
</h1>
<canvas id="canvas" width="100vw"></canvas>
</section>
<script src="data.js"></script>
<script src="script.js"></script>
</body>
</html>