Repository navigation
Expand file tree
/
Copy pathEncryptor.html
More file actions
executable file
·38 lines (35 loc) · 1.6 KB
/
Copy pathEncryptor.html
File metadata and controls
executable file
·38 lines (35 loc) · 1.6 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
<meta name = "viewport" content = "width = device-width">
<head>
<title>Braden's Encryptor</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script src="scripts/Encryptor.js"></script>
<meta property="og:title" content="The Encryptor" />
<meta property="og:description" content="Encrypt something!" />
</head>
<body>
<header>
<h1>Braden's Encryptor</h1>
<header>
<!-- All the html elements-->
<textarea rows = "6" cols = "32" id="textId" onfocus=resetfield("textId");>Type something secret here!</textarea>
<br>
<textarea rows = "1" cols = 19; id="numId" onfocus=resetfield("numId");>Encryptor Code</textarea>
<button id="copyBtn" onclick=startencrypt();>Run encryptor</button>
<!-- Some of the elements here are hidden, so that they can be used later once i have the information-->
<p hidden id = "originalmessage";>Input:</p>
<textarea hidden rows = "6" cols = "32" id="startbox">dormant for now</textarea>
<p hidden id = "result";>Result:</p>
<textarea hidden rows = "6" cols = "32" id="resultbox">dormant for now</textarea>
<p hidden id = "resultinternal";>Result:</p>
<br> <br>
<button hidden id="copy" onclick=copy();>Copy text</button>
<button hidden id="copyurl" onclick=copyURL();>Copy filled URL</button>
<br> <br>
<button hidden id="sharetofriend" onclick=message();>Message text</button>
<button hidden id="sharetofriendurl" onclick=messageURL();>Message filled URL</button>
<br>
<br>
<button hidden id="restart" onclick=redirect("Encryptor.html");>Encrypt something else</button>
<button id="home" onclick=redirect("Home.html");>Homepage</button>
</body>
</html>