Broken pages can push error indicator icon into the body.

This commit is contained in:
ccd0 2018-02-09 10:49:15 -08:00
parent 47eaa9d5be
commit 35821952ab

View File

@ -62,6 +62,7 @@ SW.yotsuba =
isThisPageLegit: ->
# not 404 error page or similar.
location.hostname is 'boards.4chan.org' and
d.doctype and
!$('link[href*="favicon-status.ico"]', d.head) and
d.title not in ['4chan - Temporarily Offline', '4chan - Error', '504 Gateway Time-out', 'MathJax Equation Source']