Merge branch 'bstable'

This commit is contained in:
ccd0 2018-02-09 10:26:18 -08:00
commit 47eaa9d5be
3 changed files with 4 additions and 4 deletions

View File

@ -36,6 +36,9 @@
### v1.13.15
**v1.13.15.9** *(2018-02-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.9/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.9/builds/4chan-X-noupdate.crx)]
- Fix 404 redirection on error pages without doctype. #1811
**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.

View File

@ -21,9 +21,6 @@ Main =
try
return if window.frameElement and window.frameElement.src in ['', 'about:blank']
# Don't run inside MathJax popups.
return if location.hostname is 'boards.4chan.org' and d.documentElement and not d.doctype
# Detect multiple copies of 4chan X
return if doc and $.hasClass(doc, 'fourchan-x')
$.asap docSet, ->

View File

@ -63,7 +63,7 @@ SW.yotsuba =
# not 404 error page or similar.
location.hostname is 'boards.4chan.org' and
!$('link[href*="favicon-status.ico"]', d.head) and
d.title not in ['4chan - Temporarily Offline', '4chan - Error', '504 Gateway Time-out']
d.title not in ['4chan - Temporarily Offline', '4chan - Error', '504 Gateway Time-out', 'MathJax Equation Source']
is404: ->
# XXX Sometimes threads don't 404 but are left over as stubs containing one garbage reply post.