forked from 409H/EtherAddressLookup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
210 lines (184 loc) · 12.4 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
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>EthAddressLookup</title>
<link rel="stylesheet" href="css/skyblue.min.css" type="text/css"/>
<link rel="stylesheet" href="css/app.css" type="text/css"/>
</head>
<body id="ext-etheraddresslookup-popup">
<div id="content">
<h4 class="text-center">EtherAddressLookup</h4>
<div id="ext-etheraddresslookup-bookmarks" class="ext-etheraddresslookup-center">
<!--- populated by js/app/toggleBookmarks.js showBookmarks() -->
</div>
<a target="_blank" href="https://cryptoscamdb.org/report/" class="btn btn-sm btn-error"
id="ext-etheraddresslookup-report"><img width="16" height="16" src="images/flag.png"> Report a domain</a>
<br/>
<div>
<ul class="ext-etheraddresslookup-nav ext-etheraddresslookup-nav-tabs" id="ext-etheraddresslookup-tab" role="tablist" style="margin-bottom: 1rem">
<li class="ext-etheraddresslookup-nav-item">
<a class="ext-etheraddresslookup-nav-link active" id="ext-etheraddresslookup-options-tab" data-toggle="ext-etheraddresslookup-tab" data-duration="350" data-height="true" href="#ext-etheraddresslookup-options" role="tab" aria-controls="ext-etheraddresslookup-options" aria-expanded="true">
Options
</a>
</li>
<li class="ext-etheraddresslookup-nav-item">
<a class="ext-etheraddresslookup-nav-link" id="ext-etheraddresslookup-labels-tab" data-toggle="ext-etheraddresslookup-tab" data-duration="350" data-height="true" href="#ext-etheraddresslookup-labels" role="tab" aria-controls="ext-etheraddresslookup-labels" aria-expanded="false">
Labels
</a>
</li>
<li class="ext-etheraddresslookup-nav-item">
<a class="ext-etheraddresslookup-nav-link" id="ext-etheraddresslookup-chain_lookup-tab" data-toggle="ext-etheraddresslookup-tab" data-duration="350" data-height="true" href="#ext-etheraddresslookup-chain_lookup" role="tab" aria-controls="ext-etheraddresslookup-chain_lookup" aria-expanded="false">
Lookup
</a>
</li>
</ul>
<div class="ext-etheraddresslookup-tab-content" id="ext-etheraddresslookup-tab-content">
<!-- OPTIONS PANEL -->
<div class="ext-etheraddresslookup-tab-pane fade active show" id="ext-etheraddresslookup-options" role="tabpanel" aria-labelledby="ext-etheraddresslookup-options-tab" aria-expanded="true">
<label class="fancy-checkbox">
<input type="checkbox" name="ext-etheraddresslookup-show_style" id="ext-etheraddresslookup-show_style">
<span>Highlight Matches</span>
</label>
<label class="fancy-checkbox">
<input type="checkbox" name="ext-etheraddresslookup-perform_address_lookups" id="ext-etheraddresslookup-perform_address_lookups">
<span>Perform address lookups</span> <sup>[<a href="https://github.com/409H/EtherAddressLookup/wiki/Address-Lookups" target="_blank">?</a>]</sup>
</label>
<label class="fancy-checkbox">
<input type="checkbox" name="ext-etheraddresslookup-twitter_validation" id="ext-etheraddresslookup-twitter_validation">
<span>Twitter Badges</span> <sup>[<a href="https://github.com/409H/EtherAddressLookup/wiki/Twitter-Badges" target="_blank">?</a>]</sup>
<a href="https://hive.one/?ref=EtherAddressLookup" target="_blank">
<img title="Hive.one has provided a lot of the Twitter accounts that are 'verified'" src="/images/hiveone.png" style="height:25px;width:30px;vertical-align:middle;"/>
</a>
</label>
<label class="fancy-checkbox">
<input type="checkbox" name="ext-etheraddresslookup-blacklist_domains" id="ext-etheraddresslookup-blacklist_domains">
<span>Warn of blacklisted domains</span> <sup>[<a href="https://github.com/409H/EtherAddressLookup/wiki/Blacklisted-Domains" target="_blank">?</a>]</sup>
</label>
<div id="ext-etheraddresslookup-blacklist_domains_stats">
<input type="checkbox" name="ext-etheraddresslookup-3rd_party_blacklist_domains" id="ext-etheraddresslookup-3rd_party_blacklist_domains"> Use 3rd party blacklists <br />
<input type="checkbox" name="ext-etheraddresslookup-block_punycode_blacklist_domains" id="ext-etheraddresslookup-block_punycode_blacklist_domains"> Block all punycode domains <br /> <br />
<small>Last updated: <span id="ext-etheraddresslookup-blacklist_domains_last_updated">N/A</span></small>
<br/>
<small>Domains Blacklisted: <span id="ext-etheraddresslookup-blacklist_domains_total_count">0</span>
(<span id="ext-etheraddresslookup-3p_blacklist_domains_total_count">0</span>)
</small>
</div>
<label>Preferred Blockchain Explorer</label>
<select class="form-control" name="ext-etheraddresslookup-choose_blockchain"
id="ext-etheraddresslookup-choose_blockchain">
<optgroup label="Mainnet">
<option data-network="1" value="https://etherscan.io/address">Etherscan.io *</option>
<option data-network="1" value="https://etherchain.org/account">Etherchain.org *</option>
<option data-network="1" value="https://ethplorer.io/address">Ethplorer.io</option>
</optgroup>
<optgroup label="Rinkeby">
<option data-network="4" value="https://rinkeby.etherscan.io/address">Etherscan.io *</option>
</optgroup>
<optgroup label="Ropsten">
<option data-network="3" value="https://ropsten.etherscan.io/address">Etherscan.io *</option>
</optgroup>
<optgroup label="Kovan">
<option data-network="42" value="https://kovan.etherscan.io/address">Etherscan.io *</option>
</optgroup>
<optgroup label="Goerli">
<option data-network="5" value="https://goerli.etherscan.io/address">Etherscan.io *</option>
<option data-network="5" value="https://blockscout.com/eth/goerli">Blockscout</option>
</optgroup>
</select>
<div class="ext-etheraddresslookup-note">
<small>* ENS address compatible.</small>
<div class="ext-etheraddresslookup-note_network_diff"></div>
</div>
</div>
<!-- LABELS PANEL -->
<div class="ext-etheraddresslookup-tab-pane fade " id="ext-etheraddresslookup-labels" role="tabpanel" aria-labelledby="ext-etheraddresslookup-labels-tab" aria-expanded="false">
<!-- New Label -->
<div id="ext-etheraddresslookup-new-labels">
<p><b>New Label:</b></p>
<form id="ext-etheraddresslookup-new-label-form">
<input
class="form-control"
type="text"
name="ext-etheraddresslookup-label-name"
id="ext-etheraddresslookup-label-name"
placeholder="Label Name"
/>
<input
class="form-control"
type="text"
name="ext-etheraddresslookup-label-address"
id="ext-etheraddresslookup-label-address"
placeholder="ETH Wallet Address"
/>
<select
class="form-control"
name="ext-etheraddresslookup-label-color"
id="ext-etheraddresslookup-label-color"
>
<option style="background-color: #dc3545;" value="dc3545">Red</option>
<option style="background-color: #ffad13;" value="ffad13">Orange</option>
<option style="background-color: #ffdc00;" value="ffdc00">Yellow</option>
<option style="background-color: #28a745;" value="28a745">Green</option>
<option style="background-color: #17a2b8;" value="17a2b8">Blue</option>
<option style="background-color: #6634b8;" value="6634b8">Purple</option>
<option style="background-color: #000000;" value="000000">Black</option>
<option style="background-color: #808080;" value="808080">Grey</option>
<option style="background-color: #ffffff;color:#303030;" value="ffffff">White</option>
</select>
<button class="btn btn-success btn-small" type="submit">Save</button>
</form>
</div>
<hr/>
<!-- Existing Labels -->
<div>
<p><b>Your Labels:</b></p>
<div id="ext-etheraddresslookup-current-labels">
<!-- Populated from storage -->
</div>
</div>
</div>
<div class="ext-etheraddresslookup-tab-pane fade " id="ext-etheraddresslookup-chain_lookup" role="tabpanel" aria-labelledby="ext-etheraddresslookup-chain_lookup-tab" aria-expanded="false">
<div id="ext-etheraddresslookup-chain_lookup_container">
<h3>Lookups</h3>
<p>Input a transaction hash or an Ethereum address to find out more details about it.</p>
<div id="ext-etheraddresslookup-chain_lookup_details"></div>
<br />
<form id="ext-etheraddresslookup-chain_lookup_form">
<input class="form-control" type="text" name="ext-etheraddresslookup-addr_or_tx" id="ext-etheraddresslookup-addr_or_tx" placeholder="0x address or tx hash" autocomplete="off" />
<button class="btn btn-success btn-small" type="submit">Lookup</button>
</form>
<div id="ext-etheraddresslookup-chain_lookup_output">
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="ext-etheraddresslookup-center">
<a href="/settings.html" target="_blank">More Settings</a> —
<a href="https://cryptoscamdb.org/" target="_blank">CryptoScamDB</a> —
<a href="https://github.com/409H/EtherAddressLookup" target="_blank">GitHub</a> <br />
<a href="https://twitter.com/EthAddrLookup" target="_blank">@EthAddrLookup</a> —
<a href="https://twitter.com/CryptoPhishing" target="_blank">@CryptoPhishing</a>
</div>
<small><strong>Version:</strong> <span id="ext-manifest_version"></span> — BETA</small>
<div id="ext-etheraddresslookup-rpc_node_details" style="display:inline;position:absolute;right:1em;">RPC Network: <span></span></div>
</div>
</div>
<script src="js/app/lib/web3.js"></script>
<script src="js/app/lib/blockies.js"></script>
<script src="js/app/toggleMatchHighlight.js"></script>
<script src="js/app/toggleTwitterValidation.js"></script>
<script src="js/app/chooseBlockchain.js"></script>
<script src="js/app/toggleBlacklistDomains.js"></script>
<script src="js/app/toggleBookmarks.js"></script>
<script src="/js/app/toggleAddressLookups.js"></script>
<script src="js/app/lib/nat-twbs-modal-popover.js"></script>
<script src="js/labels.js"></script>
<script src="js/options/labels.js"></script>
<script src="js/chainlookup.js"></script>
<script src="js/options/chainlookup.js"></script>
<script src="js/options.js"></script>
</body>
</html>