forked from 409H/EtherAddressLookup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.html
144 lines (128 loc) · 7.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
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
<!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="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="pure-u-1-1">
<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://quiknode.io/?ref=EtherAddressLookup" 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_eth_version"></span>
<span id="ext-etheraddresslookup-rpcnode_api_version"></span>
<span id="ext-etheraddresslookup-rpcnode_network_version"></span>
</div>
<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>
</div>
</div>
<div class="pure-g">
<div class="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.iosiro.com/?ref=EtherAddressLookup">iosiro</a> —
<a target="_blank" href="https://github.com/iosiro/counter_phishing_blacklist/blob/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>
</div>
<div class="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/0x661b5dc032bedb210f225df4b1aa2bdd669b38bc"><span id="donate_address">0x661b5dc032bedb210f225df4b1aa2bdd669b38bc</span></a></p>
<p>Thanks, <br />— Harry.</p>
</div>
</div>
<script src="js/app/lib/web3-light.min.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>
</body>
</html>