From 35821952ab7285bfdc646fa934c36a3b0508fbcf Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 9 Feb 2018 10:49:15 -0800 Subject: [PATCH] Broken pages can push error indicator icon into the body. --- src/site/SW.yotsuba.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/site/SW.yotsuba.coffee b/src/site/SW.yotsuba.coffee index f2035638f..8ad7dda4e 100644 --- a/src/site/SW.yotsuba.coffee +++ b/src/site/SW.yotsuba.coffee @@ -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']