Merge branch 'bstable'
This commit is contained in:
commit
e6e65454d4
@ -30,6 +30,9 @@
|
||||
|
||||
### v1.13.15
|
||||
|
||||
**v1.13.15.8** *(2018-02-01)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.8/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.8/builds/4chan-X-noupdate.crx)]
|
||||
- Captcha bypass cookie does not work for starting threads. Updating to treat this case correctly.
|
||||
|
||||
**v1.13.15.7** *(2018-01-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.7/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.7/builds/4chan-X-noupdate.crx)]
|
||||
- Show video contract button unconditionally for now due to changes in Firefox.
|
||||
- Fix webm_audio undefined error shown on first install of script. #1778
|
||||
|
||||
@ -10,7 +10,7 @@ Captcha.cache =
|
||||
|
||||
needed: ->
|
||||
not (
|
||||
/\b_ct=/.test(d.cookie) or @captchas.length or QR.req
|
||||
(/\b_ct=/.test(d.cookie) and QR.posts[0].thread isnt 'new') or @captchas.length or QR.req
|
||||
) and (
|
||||
QR.posts.length > 1 or Conf['Auto-load captcha'] or QR.posts[0].com or QR.posts[0].file
|
||||
)
|
||||
|
||||
@ -657,7 +657,7 @@ QR =
|
||||
if g.BOARD.ID is 'r9k' and !post.com?.match(/[a-z-]/i)
|
||||
err or= 'Original comment required.'
|
||||
|
||||
if QR.captcha.isEnabled and !/\b_ct=/.test(d.cookie) and !err
|
||||
if QR.captcha.isEnabled and !(/\b_ct=/.test(d.cookie) and threadID) and !err
|
||||
captcha = QR.captcha.getOne(!!threadID)
|
||||
unless captcha
|
||||
err = 'No valid captcha.'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user