Tweak message to Pass buyers and add button to dismiss it.
This commit is contained in:
parent
e6cbeaef6d
commit
e91e404650
@ -1,9 +1,14 @@
|
||||
PassMessage =
|
||||
init: ->
|
||||
return if Conf['passMessageClosed']
|
||||
msg = $.el 'div',
|
||||
className: 'box-outer top-box'
|
||||
,
|
||||
`<%= readHTML('PassMessage.html') %>`
|
||||
close = $ 'a', msg
|
||||
$.on close, 'click', ->
|
||||
$.rm msg
|
||||
$.set 'passMessageClosed', true
|
||||
$.ready ->
|
||||
if (hd = $.id 'hd')
|
||||
$.after hd, msg
|
||||
|
||||
@ -1,8 +1,13 @@
|
||||
<div class="box-inner">
|
||||
<div class="boxbar"><h2>Trouble buying a 4chan Pass? (a message from 4chan X)</h2></div>
|
||||
<div class="boxbar">
|
||||
<h2>
|
||||
Trouble buying a 4chan Pass? (a message from 4chan X)
|
||||
<a href="javascript:;" style="text-decoration: none; float: right; margin-right: 4px;" title="Close">×</a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="boxcontent">
|
||||
<p>
|
||||
You can buy solved CAPTCHAs at <%= meta.captchaServiceLinks.map(function(x) {return '<a href="' + x[1] + '" target="_blank" rel="noopener">' + x[0] + '</a>'}).join(', ') %>, and similar services.
|
||||
You can buy solved CAPTCHAs at <%= meta.captchaServiceLinks.map(function(x) {return x[0]}).join(', ') %>, and similar services.
|
||||
They're a bit slow, but sufficient for image dumping.
|
||||
Depending on how much you post, this can be cheaper than a Pass, and it doesn't require cryptocurrency to purchase.
|
||||
4chan X has integrated support for services that use 2captcha's API.
|
||||
|
||||
@ -1182,3 +1182,5 @@ Config =
|
||||
knownBanners: '<%= readJSON("banners.json").join(",") %>'
|
||||
|
||||
cachedTitles: [[]]
|
||||
|
||||
passMessageClosed: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user