-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
54 lines (51 loc) · 2.09 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="bootstrap.min.css">
<script src="messages.js"></script>
<script src="logger.js"></script>
<script src="config.js"></script>
<script src="options.js"></script>
</head>
<body style="padding:10px">
<h3>Third party cookie behaviour</h3>
<form id="optionsForm">
<select id="thirdParty" class="form-control input-sm">
<option value="AllowNone">Block All</option>
<option value="AllowIfOtherwiseAllowed">Allow only if explicitly permitted</option>
<option value="AllowAll">Allow All (not recommended)</option>
</select>
</form>
<hr>
<h3>Sites allowed to set cookies</h3>
<form id="allowListForm">
<label for="newSite">Website address:</label>
<input type="text" id="newSite" class="form-control form-control-sm"></input>
<button type="button" id="addSite" class="btn btn-info btn-sm">Add Site</button><br>
<select id="allowList" size="10" multiple style="width:400px"></select><br>
<button type="button" id="removeSites" class="btn btn-info btn-sm ">Remove Selected</button><br>
</form>
<hr>
<h3>Other settings</h3>
<form>
<div class="form-check">
<input type="checkbox" id="ignoreSettingsWarning" class="form-check-input"/><label for="ignoreSettingsWarning" class="form-check-label">Ignore incompatible cookie settings warning</label>
</div>
</form>
<hr>
<h3>Settings Management</h3>
<div class="form-group">
<button id="backupSettings" type="submit"class="btn btn-info btn-sm">Backup Settings</button>
<input id="restoreFile" type="file"/ class="form-control-file"><button id="restoreSettings" type="submit"class="btn btn-info btn-sm">Restore Settings</button>
</div>
<div class="form-group">
<form id="resetSettingsForm">
<button type="submit" class="btn btn-info btn-sm">Reset to factory settings</button>
</form>
</div>
<hr>
<a id='openLogs' href="will-be-replaced-at-load-time" target="_blank">Logs</a>
<a id='helplink' href="will-be-replaced-at-load-time" target="_blank">Help</a>
</body>
</html>