-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmodal.html
More file actions
84 lines (67 loc) · 2.9 KB
/
modal.html
File metadata and controls
84 lines (67 loc) · 2.9 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
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
<!DOCTYPE html>
<html>
<head>
<style>
.modal-content {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 300px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.modal-header {
padding: 6px 16px;
background-color: #5cb85c;
color: white;
}
.modal-body {padding: 2px 16px;}
.modal-footer {
padding: 8px 16px;
background-color: #5cb85c;
color: white;
height: 24px;
}
.modal-footer div {
float: right;
}
</style>
</head>
<body>
<h2>AutoAuth Extension</h2>
<p>
For AutoAuth to be able to fill in your credentials automatically you need to enter them here. For further details why this is necessary see below.
</p>
<p id="error-banner" hidden="" style="color: red;">
An error has occured while logging in. Maybe your credentials were wrong. You can try again or mark this page to be ignored by AutoAuth. You can unignore the page in the AuthAuth's options page.
</p>
<form id="myform">
<div class="modal-content">
<div class="modal-header">
Login credentials
</div>
<div class="modal-body">
<p>Username: <input type="text" id="username" required></p>
<p>Password: <input type="password" id="pw" required></p>
<p id="port-container" style="display: none;">Use for all ports: <input type="checkbox" id="all-ports" value="1"></p>
</div>
<div class="modal-footer">
<div>
<button type="button" id="cancel">Cancel / Ignore</button>
<button type="submit" id="submit">Submit</button>
</div>
</div>
</div>
</form>
<h4>Why do I need to fill in my credentials in a non-standard input field?</h4>
<p>With Firefox 57 old fashioned extensions are disabled. Only addons based on WebExtensions are allowed. Before this addon basically waited for Firefox' modal window asking for your password and automatically hit enter for you. With the new WebExtensions interface this is not possible anymore. Instead the addon now intercepts responses that need basic authentication and send your credentials automatically.</p>
<h4>Why can AutoAuth not read my credentials from Firefox' saved credentials?</h4>
<p>Unfortinatly there is no API yet to access these passwords. Thus AutoAuth needs to save the credentials itself.</p>
<h4>How are my passwords stored?</h4>
<p>Your passwords are stored unencrypted, as there does not exist an API to derive an encryption key. Asking for an encryption password each time the addon is used would defeat it's purpose. The passwords are stored in the same directory Firefox stores its passwords and is thus equally secure if you do not use a master password.</p>
<h4>How can a delete stored passwords or remove a host from the ignored list?</h4>
<p>In the addons overview, click on settings of this addon. There you can manage all the credentials saved by this addon.</p>
<script src="modal.js"></script>
</body>
</html>