forked from 409H/EtherAddressLookup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.html
99 lines (87 loc) · 4.79 KB
/
settings.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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>EthAddressLookup Settings</title>
<link rel="stylesheet" href="css/skyblue.min.css" type="text/css" />
<link rel="stylesheet" href="css/app.css" type="text/css" />
<link rel="stylesheet" href="css/settings.css" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css"
integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
</head>
<body>
<h3>EtherAddressLookup Settings</h3>
<div class="pure-g">
<div class="pure-u-1-3">
<h3>Bookmarks</h3>
<p>Enabling bookmarks will show trusted site favicons on the extension so you don't have to rely on links. These
are customisable, so please make sure you bookmark the correct links.</p>
<label class="fancy-checkbox">
<input type="checkbox" name="ext-etheraddresslookup-show_bookmarks" id="ext-etheraddresslookup-show_bookmarks">
<span id="ext-etheraddresslookup-show_bookmarks_text">Enabled</span>
</label>
<br />
<table class="pure-table pure-table-striped" id="ext-etheraddresslookup-bookmarks_table">
<thead>
<th>Icon</th>
<th>URL</th>
<th> </th>
</thead>
<tbody>
<!--- populated by js/app/toggleBookmarks.js showBookmarks() -->
</tbody>
</table>
<!---- Modify Bookmark Window --->
<div id="ext-etheraddresslookup-bookmark_modify_window">
<h3>Modify Bookmark</h3>
<form method="post" action="" class="pure-form pure-form-aligned" id="ext-etheraddresslookup-bookmark_modify_form">
<div class="pure-control-group">
<label for="icon">Icon</label>
<input type="text" placeholder="The URL to the icon" id="ext-etheraddresslookup-bookmark_modify_icon">
<span class="pure-form-message note">Leave the value blank unless you want a custom icon.</span>
</div>
<div class="pure-control-group">
<label for="link">Link</label>
<input type="text" placeholder="The URL to bookmark" id="ext-etheraddresslookup-bookmark_modify_url">
</div>
<input type="hidden" id="ext-etheraddresslookup-bookmark_modify_id">
<button type="submit" class="pure-button pure-button-primary">Save</button>
</form>
<br />
<div class="pure-button pure-button-secondary ext-button-small " id="ext-etheraddresslookup-bookmark_modify_remove">Remove bookmark</div>
</div>
</div>
<div class="pure-u-2-3">
<h3>History Check</h3>
<p>We are updating our blacklists regularly, and you may have visited a domain that we now consider
malicious. You can use this tool to let EAL inspect your browser history and see if you've visited
such domain. EAL will then give you some advice pointers on what to do if it finds something. <br /><br />
<span class="note">
<strong>Note:</strong>
None of your browser history is communicated anywhere, all the checks are done locally. You may need to
accept the permission request for EAL to access your browser history. Running this check will be the <i>only</i>
time EAL looks at your browser history. Once the check is done, the permission will be removed.
</span>
</p>
<br /><br />
<div id="ext-etheraddresslookup-history_inspect_data" class="hide-me">
</div>
<br /><br />
<button id="ext-etheraddresslookup-history_inspect">Inspect History Now</button> <br />
<small class="note">EAL will inspect the last 500 history entries</small>
<h3></h3>
</div>
</div>
<div class="pure-g">
<div class="pure-u-1-1">
<h3>Donate</h3>
<p>If you wish to donate to the project, please send ETH or ERC20 tokens to: <a href="https://etherscan.io/address/0x661b5dc032bedb210f225df4b1aa2bdd669b38bc"><span id="donate_address">0x661b5dc032bedb210f225df4b1aa2bdd669b38bc</span></a></p>
<p>Thanks, <br />— Harry.</p>
</div>
</div>
<script src="js/app/toggleBookmarks.js"></script>
<script src="js/app/lib/URI.min.js"></script>
<script src="js/app/historyInspector.js"></script>
</body>
</html>