-
Notifications
You must be signed in to change notification settings - Fork 277
/
settings.html
179 lines (157 loc) · 12 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!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">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-min.css">
</head>
<body>
<h3>EtherAddressLookup Settings</h3>
<div class="pure-g">
<div class="setting-container pure-u-1-2 pure-u-xl-1-2 pure-u-lg-1-2 pure-u-md-1-2 pure-u-sm-1-1">
<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>
<p>By adding domains to your bookmarks, the EtherAddressLookup extension icon will change color <img src="/images/ether-128x128-green_badge.png" id="ext-icon-whitelisted" /> to indicate that you
trust the domain. <br /> <strong>Note:</strong> This will act on the domain itself (<code>domain.com</code>), <u>not</u> the specific directory (<code>domain.com/foo</code>) or query string (<code>domain.com/?q=foo</code>).
</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="setting-container pure-u-1-2 pure-u-xl-1-2 pure-u-lg-1-2 pure-u-md-1-2 pure-u-sm-1-1">
<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="ext-etheraddresslookup-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="ext-etheraddresslookup-note">EAL will inspect the last 500 history entries</small>
<h3></h3>
</div>
</div>
<div class="pure-g">
<div class="setting-container pure-u-2-3">
<h3>RPC Node</h3>
<p>Here you can set the RPC node (ie: <code>http://localhost:8545</code>) for address lookups. EAL supplies a mainnet
one for you that is maintained by <a href="https://www.quiknode.io?tap_a=22610-7a7484&tap_s=150933-0c5904" target="_blank">Quiknode</a>, but you may want to use your own.</p>
<p>Overwriting the default node will be helpful if you want lookups done on a testnet.</p>
<div class="warning margin-15 hide-me" id="ext-etheraddresslookup-rpcnode_errors"></div>
<div class="success margin-15 hide-me" id="ext-etheraddresslookup-rpcnode_success">
RPC Node setting has been updated. <br />
<span id="ext-etheraddresslookup-rpcnode_connected_status"></span>
<span id="ext-etheraddresslookup-rpcnode_details"></span>
</div>
<p>
<span id="ext-etheraddresslookup-rpcnode_current_details"></span>
</p>
<form method="post" action="" class="pure-form pure-form-aligned" id="ext-etheraddresslookup-rpcnode_modify_form">
<div class="pure-control-group">
<label for="ext-etheraddresslookup-rpcnode_modify_url">RPC Node:</label>
<input type="text" name="rpcnode" placeholder="localhost:8545" id="ext-etheraddresslookup-rpcnode_modify_url">
</div>
<button type="reset" class="pure-button pure-button-secondary" id="ext-etheraddresslookup-rpcnode_reset_form">Reset to Default</button>
<button type="submit" class="pure-button pure-button-primary">Save</button>
</form>
<br />
<p>Get your own ETH node at <a href="https://www.quiknode.io?tap_a=22610-7a7484&tap_s=150933-0c5904" target="_blank">Quiknode</a></p>
<p>Network mapping: <a href="https://chainid.network/" target="_blank">https://chainid.network/</a></p>
</div>
<div class="setting-container pure-u-1-3">
<h3>Signature Inject</h3>
<p>You can disable the functionality that injects the EtherAddressLookup signature into webpages. The
signature injection is used so 3rd party websites can see if you have EtherAddressLookup installed or not. This
can be used by sites to prompt you to install EAL for various reasons, especially to prevent you from landing
on fake sites.</p>
<div class="success margin-15 hide-me" id="ext-etheraddresslookup-signature_success">
Setting has been saved.
</div>
<form method="post" action="" class="pure-form pure-form-aligned" id="ext-etheraddresslookup-signature_modify_form">
<div class="pure-control-group">
<label for="ext-etheraddresslookup-signature_modify_checkbox">Enabled:</label>
<input type="checkbox" name="signature" id="ext-etheraddresslookup-signature_modify_checkbox">
</div>
<button type="submit" class="pure-button pure-button-primary">Save</button>
</form>
</div>
</div>
<div class="pure-g">
<div class="setting-container pure-u-2-3">
<h3>Special Thanks</h3>
<p>I'd like to dedicate this block to thank the 3rd party teams for maintaining their blacklists.</p>
<ul>
<li>
<a target="_blank" href="https://www.phishfort.com/?ref=EtherAddressLookup">PhishFort</a> —
<a target="_blank" href="https://raw.githubusercontent.com/phishfort/phishfort-lists/master/blacklists/domains.json">See Blacklist</a>
</li>
<li>
<a target="_blank" href="https://www.segasec.com/?ref=EtherAddressLookup">Segasec</a> —
<a target="_blank" href="https://segasec.github.io/PhishingFeed/phishing-domains-sha256.json">See Blacklist</a>
</li>
</ul>
<p>If you maintain your own blacklist (specifically for the Ethereum ecosystem) and wish to integrate them into EAL, please read <a href="https://harrydenley.com/eal-using-third-party-blacklists/" target="_blank">EAL using third-party blacklists</a> article.</p>
<br />
<p>I'd also like to say thanks to <a target="_blank" href="https://hive.one?ref=EtherAddressLookup">hive.one</a> for providing a list of verified Twitter handles that we <a target="_blank" href="https://twitter.com/EthAddrLookup/status/1010298949796851713">use since v1.18.2</a>.</p>
</div>
<div class="setting-container pure-u-1-3">
<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/ethaddresslookup.harrydenley.eth"><span id="donate_address">ethaddresslookup.harrydenley.eth</span></a></p>
<p><img src="data:image/gif;base64,R0lGODlhhACEAJEAAAAAAP///wAAAAAAACH5BAEAAAIALAAAAACEAIQAAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiab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urrcqnC/CBhvbaMSpaitXsHCWae6PsDa418M8ttvWtxVbXO/H79Yl8sjk8fWhkKyaV6ueH7T827PVrhoDzV7SbF1gOl9sL8ytcvsyyr5KbDKy/Gool31IOwutvweqvOW5Ni+a7b4VOx011LgS6/K/RpoKdMFrkl3vz7yiPWfbbBeW4tTqSXybtUr3qybE7wqL6t2Txhwyp3KCCuzQGl8NX5Fp922ilNa5q/a1No7t9a+Epke+Y+Ndz8vr19ZmruzAkHpIsr6EH7502Dinm/fpVtJLsKr5Yc5x4StjvKjUDbfO+Nl/P/2yw5xjanvdWev+bMKZbnsq8EELL/bwkc5tte2H4o3n7UFPvnbZeU/vONaAfk9+9jeLD3bNIyNvPexZy8wp5LPPH36euaIuv/36C7050epvnbL2dY9iqWuMAQ+IwAQqcIEMbKADHwjBCEpwghSsoAUhUAAAOw==" /></p>
<p>Thanks, <br />— Harry.</p>
</div>
</div>
<script src="js/app/lib/web3.js"></script>
<script src="js/app/toggleBookmarks.js"></script>
<script src="js/app/lib/URI.min.js"></script>
<script src="js/app/historyInspector.js"></script>
<script src="js/app/rpcNodeSelector.js"></script>
<script src="js/app/signatureSelector.js"></script>
</body>
</html>