-
Notifications
You must be signed in to change notification settings - Fork 14
/
options.html
102 lines (88 loc) · 4.89 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
<!DOCTYPE html>
<html>
<head>
<title>Autotip Options</title>
<style>
#container {
width: 50%;
min-width: 500px;
background: #dfdfdf;
border: 1px solid #888888;
padding: 10px;
margin-left: auto;
margin-right: auto;
}
.save_button {
font-size: large;
background-color: #91F3A8;
border-radius: 4px;
cursor: pointer;
}
.status {
color: red;
}
input[type=number] {
width: 3em;
}
</style>
</head>
<body>
<div id="container">
<div style="text-align: right; width: 100%">
Deposit Balance: <span class="current_balance"><img src="spinner.gif"></span>
</div>
<h1>Autotip Options</h1>
<input type="button" class="save_button" value="Save Options"> <span class="status"></span>
<h2>Tip amount</h2>
$ <input type="text" name="dollar_tip_amount" style="width: 3em"> USD
<br><small>This amount gets sent to each page you elect to tip. If there are multiple
tip addresses, this amount will get split up amongst each address.</small>
<h2>Daily tip limit</h2>
$ <input type="text" name="daily_tip_limit" style="width: 3em"> USD
<br><small>All autotipping will cease when total tips sent adds up to this amount.
The count resets every 24 hours.</small>
<h2>Miner's Fee</h2>
$ <input type="text" name="miner_fee" style="width: 3em"> USD
<h2>Giveaway Participation</h2>
<input type="checkbox" name="giveaway_participation"> Participate<br>
<small>As you tip, this extension will 'phone home' to enter your
tipping address into a giveaway where you can win bitcoin.
No personal informatin is sent, only your deposit address.
For more information <a href="http://autotip.io/giveaway/info">go here</a>.</small>
<h2>Audio Tipping</h2>
Minimum seconds between audio tips: <input type="number" name="min_audio_tip_seconds"><br>
<small>This is to prevent a malicious page from sending lots of tips really fast, cleaning out your balance.</small><br>
<br>
<input type="radio" name="song_autotip" value="off"> Never tip songs automatically<br>
<input type="radio" name="song_autotip" value="on"> Automatically send tip every <input type="number" name="send_music_tip_every_x_songs"> Songs.
<h2>Tipping Mode</h2>
<input type="radio" name="when_to_send" value="immediately">Tip automatically without asking <strong>immediately</strong> upon page load.<br>
<input type="radio" name="when_to_send" value="5mins">Tip automatically without asking after being on the page for <input type="number" name="interval_seconds"> seconds.<br>
<input type="radio" name="when_to_send" value="ask">Never Tip automatically. Only tip when I do so from the popup.<br>
<br>
<input type="checkbox" name="one_per_address"> Limit to one tip per address per day when auto tipping.<br>
<h2>Notifications</h2>
<input type="checkbox" name="beep_on_tip"> Beep after making a tip.<br>
<input type="checkbox" name="show_notifications"> Show browser notifications. <br>
<h2>Whitelist/Blacklist</h2>
<input type="radio" name="blacklist_or_whitelist" value="none"> Allow tips on every domain.<br>
<input type="radio" name="blacklist_or_whitelist" value="whitelist"> Use Domain List as Whitelist<br>
<input type="radio" name="blacklist_or_whitelist" value="blacklist"> Use Domain List as Blacklist
<h3>Domain List</h3>
<textarea name="domains" cols="100" rows="8" id="domain_list_textarea"></textarea><br>
<small>Seperate domain one per line. If you checked "use as whitelist" above, <i>only</i> these domains
will ever be autotipped. If you checked "use as blacklist", these domains will <i>never</i> get autotipped.</small>
<h2>Deposit Address</h2>
<div id="qr"></div>
Public Key: <strong id="deposit_address"></strong> <br>
Private Key: <span id="priv_key"></span> <br>
Balance: <span class="current_balance"><img src="spinner.gif"></span>
<br><br>
<input type="button" class="save_button" value="Save Options"> <span class="status"></span>
</div>
<script src="bitcore.browser.min.js"></script>
<script src="jquery-2.1.3.min.js"></script>
<script src="jquery.qrcode.min.js"></script>
<script src="options.js"></script>
</body>
</html>