This repository has been archived by the owner on Mar 4, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
options.html
292 lines (247 loc) · 19.7 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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Pickaxe: Coinhive Monero Miner for Chrome</title>
<link href="./bootstrap.css" rel="stylesheet">
<link href="./options.css" rel="stylesheet">
<script src="./dist/options.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-sm-8">
<div class="text-center">
<h1><img src="./icons/icon48.png"> Pickaxe: Coinhive Monero Miner for Chrome</h1>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-8">
<div class="alert alert-light text-center" role="alert">
If you enjoy using Pickaxe, please give it <a href="https://chrome.google.com/webstore/detail/ohlbpbhmhjadmjfibjmhbjjkefnehknp/reviews">a 5-pickaxe <img src="./icons/icon16.png"><img src="./icons/icon16.png"><img src="./icons/icon16.png"><img src="./icons/icon16.png"><img src="./icons/icon16.png"> review on Chrome web store</a>.
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-9">
<div class="card bg-light">
<h2 class="card-header h3">Miner Settings</h2>
<div class="card-body">
<div class="alert alert-success text-center" id="form-saved-alert">
Saved!
</div>
<form id="miner-settings-form">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Site Key (Public)</th>
<th scope="col">User Name <small class="text-muted">(Optional)</small></th>
<th scope="col" class="text-center">CPU Usage</th>
<th scope="col" class="text-center">Action</th>
</tr>
</thead>
<tbody id="miner-settings-tbody">
</tbody>
</table>
<div class="form-group text-right">
<button type="button" class="btn btn-link" id="add-miner-button">Add Miner</button>
</div>
<button type="submit" class="btn btn-lg btn-primary btn-block">Save</button>
</form>
</div>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card bg-light">
<h2 class="card-header h3">Spread the Words</h2>
<div class="card-body">
<!-- Sharingbutton Facebook -->
<a class="resp-sharing-button__link" href="https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp" target="_blank" aria-label="Share on Facebook">
<div class="resp-sharing-button resp-sharing-button--facebook resp-sharing-button--large">
<div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
<svg class="align-middle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z"/></svg>
</div>Share on Facebook</div>
</a>
<!-- Sharingbutton Twitter -->
<a class="resp-sharing-button__link" href="https://twitter.com/intent/tweet/?text=Mine%20%23Monero%20(%23XMR)%20on%20Chrome%20using%20%23coinhive%20JavaScript%20miner%20via%20%40TypistTech&url=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp"
target="_blank" aria-label="Share on Twitter">
<div class="resp-sharing-button resp-sharing-button--twitter resp-sharing-button--large">
<div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
<svg class="align-middle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z"/></svg>
</div>Share on Twitter</div>
</a>
<!-- Sharingbutton Google+ -->
<a class="resp-sharing-button__link" href="https://plus.google.com/share?url=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp" target="_blank" aria-label="Share on Google+">
<div class="resp-sharing-button resp-sharing-button--google resp-sharing-button--large">
<div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
<svg class="align-middle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.37 12.93c-.73-.52-1.4-1.27-1.4-1.5 0-.43.03-.63.98-1.37 1.23-.97 1.9-2.23 1.9-3.57 0-1.22-.36-2.3-1-3.05h.5c.1 0 .2-.04.28-.1l1.36-.98c.16-.12.23-.34.17-.54-.07-.2-.25-.33-.46-.33H7.6c-.66 0-1.34.12-2 .35-2.23.76-3.78 2.66-3.78 4.6 0 2.76 2.13 4.85 5 4.9-.07.23-.1.45-.1.66 0 .43.1.83.33 1.22h-.08c-2.72 0-5.17 1.34-6.1 3.32-.25.52-.37 1.04-.37 1.56 0 .5.13.98.38 1.44.6 1.04 1.84 1.86 3.55 2.28.87.23 1.82.34 2.8.34.88 0 1.7-.1 2.5-.34 2.4-.7 3.97-2.48 3.97-4.54 0-1.97-.63-3.15-2.33-4.35zm-7.7 4.5c0-1.42 1.8-2.68 3.9-2.68h.05c.45 0 .9.07 1.3.2l.42.28c.96.66 1.6 1.1 1.77 1.8.05.16.07.33.07.5 0 1.8-1.33 2.7-3.96 2.7-1.98 0-3.54-1.23-3.54-2.8zM5.54 3.9c.33-.38.75-.58 1.23-.58h.05c1.35.05 2.64 1.55 2.88 3.35.14 1.02-.08 1.97-.6 2.55-.32.37-.74.56-1.23.56h-.03c-1.32-.04-2.63-1.6-2.87-3.4-.13-1 .08-1.92.58-2.5zM23.5 9.5h-3v-3h-2v3h-3v2h3v3h2v-3h3"/></svg>
</div>Share on Google+</div>
</a>
<!-- Sharingbutton E-Mail -->
<a class="resp-sharing-button__link" href="mailto:?subject=Mine%20Monero%20(XMR)%20on%20Chrome%20using%20Coinhive%20JavaScript%20miner&body=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp"
target="_self" aria-label="Share by E-Mail">
<div class="resp-sharing-button resp-sharing-button--email resp-sharing-button--large">
<div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
<svg class="align-middle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z"/></svg></div>Share
by E-Mail</div>
</a>
<!-- Sharingbutton LinkedIn -->
<a class="resp-sharing-button__link" href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp&title=Mine%20Monero%20(XMR)%20on%20Chrome%20using%20Coinhive%20JavaScript%20miner&summary=Mine%20Monero%20(XMR)%20on%20Chrome%20using%20Coinhive%20JavaScript%20miner&source=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp"
target="_blank" aria-label="Share on LinkedIn">
<div class="resp-sharing-button resp-sharing-button--linkedin resp-sharing-button--large">
<div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
<svg class="align-middle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z"/></svg>
</div>Share on LinkedIn</div>
</a>
<!-- Sharingbutton Reddit -->
<a class="resp-sharing-button__link" href="https://reddit.com/submit/?url=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp" target="_blank" aria-label="Share on Reddit">
<div class="resp-sharing-button resp-sharing-button--reddit resp-sharing-button--large">
<div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
<svg class="align-middle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z"/></svg>
</div>Share on Reddit</div>
</a>
<!-- Sharingbutton Hacker News -->
<a class="resp-sharing-button__link" href="https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpickaxe-coinhive-monero-m%2Fohlbpbhmhjadmjfibjmhbjjkefnehknp&t=Mine%20Monero%20(XMR)%20on%20Chrome%20using%20Coinhive%20JavaScript%20miner"
target="_blank" aria-label="Share on Hacker News">
<div class="resp-sharing-button resp-sharing-button--hackernews resp-sharing-button--large">
<div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
<svg class="align-middle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><path fill-rule="evenodd" d="M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z"></path></svg>
</div>Share on Hacker News</div>
</a>
</div>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card bg-light">
<h2 class="card-header h3">FAQs</h2>
<div class="card-body">
<h3 class="card-title p-t-initial">Who am I mining for?</h3>
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th scope="col">Site Key (Public)</th>
<th scope="col">User Name</th>
<th scope="col" class="text-center">CPU Usage</th>
</tr>
</thead>
<tbody id="faq-miner-settings-tbody">
</tbody>
</table>
<p class="card-text">
Cryptocurrency should be transparent. So does the mining tools. <strong>This extension will always tell you who you are mining for.</strong>
</p>
<h3 class="card-title">What is my site key?</h3>
<p class="card-text">
Register at <a href="https://cnhv.co/arz1">https://coinhive.com</a>. Then, get your Coinhive site key (public) under <a href="https://cnhv.co/arzb">Settings » Sites</a>.
</p>
<h3 class="card-title">What is a user name?</h3>
<blockquote class="blockquote">
<p class="mb-0 card-text">A unique identifier for the user account on your website. This can be a userId, an email address, the user's nick name or (if you don't want to share your user names with our service) the md5 hash or otherwise obfuscated name of the user.
Max length: 128 chars, case insensitive.</p>
<footer class="blockquote-footer"><cite title="Source Title"><a href="https://cnhv.co/btzk">Conhive Document</a></cite></footer>
</blockquote>
<p class="card-text">
Optional. Leave blank if you don't need to mine for a specific user. See the <code>CoinHive.Anonymous</code> and <code>CoinHive.User</code>sections on <a href="https://cnhv.co/btzk">Conhive document</a> for details.
</p>
<h3 class="card-title">What is CPU usage?</h3>
<p class="card-text">
Maximum percentage of CPU power allowed for the miner. Higher value means more hash outputs.
</p>
<h3 class="card-title">How to start/pause mining?</h3>
<p class="card-text">
Click the Pickaxe icon <img src="./icons/icon16.png"> on the Chrome menu (top right corner).
</p>
<h3 class="card-title">Is it mining? What is my hash rate?</h3>
<p class="card-text">
Check the Pickaxe icon <img src="./icons/icon16.png"> on the Chrome menu (top right corner):
<ul>
<li><img src="./icons/icon16.png">: Mining</li>
<li><img src="./icons/icon16-grayscale.png">: Stopped</li>
</ul>
Your hash rate (number of hashes per second) is shown on top of the icon when mining.
<br />
<small class="text-muted">This is the total hash rate of all miners.</small>
</p>
<h3 class="card-title">Why does it pause mining sometimes?</h3>
<p class="card-text">
You can't mine without internet connection. Thus, Pickaxe pauses itself <img src="./icons/icon16-grayscale.png"> when offline. It automatically resumes <img src="./icons/icon16.png"> when connection is back.
</p>
<h3 class="card-title">How many hashes have I mined?</h3>
<p class="card-text">
Check it on <a href="https://cnhv.co/ax48">Coinhive dashboard</a>.
</p>
<h3 class="card-title">Would it be blocked by ad blockers?</h3>
<p class="card-text">
No, this extension runs in a <a href="https://cnhv.co/axct">separate process</a> which immutable from other ad blocker extensions.
</p>
<h3 class="card-title">Why I am mining for the extension author?</h3>
<p class="card-text">
Constant development work needed to keep up with <a href="https://cnhv.co/ax5n">Chrome</a> and <a href="https://cnhv.co/ax5p">Coinhive</a> updates. Therefore, a small miner is running for the extension author as development fees.
<br /> Also consider donating to Pickaxe to help me maintain it.
</p>
<h3 class="card-title">How to donate?</h3>
<p class="card-text">
Begging for money is not what I intended. If you already using one of <a href="https://cnhv.co/18rlt">my works</a>, why not <a href="https://cnhv.co/18rm9">hire me</a> to improve / maintain your sites. Keep me worry less about the rent and spend more time to build something great.
</p>
<p class="card-text">
If you insist, there are some donate options on <a href="https://cnhv.co/18rn6">this page</a>.
</p>
<h3 class="card-title">Are you for hire?</h3>
<p class="card-text">
Yes, contact me via the contact form <a href="https://cnhv.co/18rm9">here</a> or via email <a href="mailto:info@typist.tech">info@typist.tech</a>
</p>
<h3 class="card-title">Did you modify the official Coinhive JavaScript miner library?</h3>
<p class="card-text">
No, your device downloads the <a href="https://cnhv.co/ax6k">Coinhive JavaScript miner library</a> directly from Coinhive because of security and updates.
</p>
<h3 class="card-title">Is this an official extension from Coinhive?</h3>
<p class="card-text">
No, this extension is made by <a href="https://cnhv.co/18s13">Tang Rufus</a>.
</p>
<h3 class="card-title">Are you an affiliate with Coinhive?</h3>
<p class="card-text">
No. Coinhive never ask me nor pay me to make this extension. I have no affiliation with Coinhive.
</p>
<h3 class="card-title">Where is the source code?</h3>
<p class="card-text">
<ul>
<li>GitHub: <a href="https://cnhv.co/as0d">TypistTech/pickaxe-coinhive-miner-chrome</a></li>
</ul>
<small class="text-muted">Tips: Cross check with the <a href="https://cnhv.co/axge">version downloaded on your device</a>.</small>
</p>
<h3 class="card-title">Where should I report bugs and ask questions?</h3>
<p class="card-text">
<ul>
<li>Send email to <a href="mailto:pickaxe-coinhive-miner-chrome@typist.tech">pickaxe-coinhive-miner-chrome@typist.tech</a></li>
<li>Use <a href="https://cnhv.co/axem">GitHub issue</a> if you are a developer</li>
</ul>
<small class="text-muted">Coinhive support requests should be reported to the <a href="https://cnhv.co/axfh">Coinhive support team</a> instead.</small>
</p>
</div>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card bg-light">
<h2 class="card-header h3">The MIT License</h2>
<div class="card-body">
<p class="card-text"> Copyright (c) 2017 The contributors </p>
<p class="card-text"> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated mentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: </p>
<p class="card-text"> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. </p>
<p class="card-text"> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>