-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
39 lines (34 loc) · 1.82 KB
/
popup.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
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Encrypted Messenger</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="lock.css">
<script type="text/javascript" src="popup.js"></script>
</head>
<body>
<div id="enable" class="text-center">
<h3 id="title">Encrypt Messenger</h3>
<div>
<button id="generate" type="button" class="btn btn-primary" style="margin-bottom: 10px;">Generate Key Pair</button>
</div>
<div>
<p id="info" hidden="true" style="font-size: 12px;">Your key pair has been generated! The public key has been copied to your clipboard. Visit <a href="https://encrypted-messenger.me/">encrypted-messenger.me</a> to register your key.</p>
</div>
<!-- <div id="scroll" style="background-color: #ddd; margin: 0px; overflow-y: scroll; height:30px; width:200px" hidden="true"> -->
<!-- <div id="scroll" hidden="true">
<textarea id="publickey" style="font-family: monospace; margin: 0px; border-width: 0px; width: 195px; height: 100px;"></textarea>
</div> -->
<!-- </div> -->
</div>
</body>
</html>