From b53bd98f666931fbaaeae288dda0cff01ca7940d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 1 Nov 2017 08:35:01 -0700 Subject: [PATCH] Refix error message in ad iframes. --- src/main/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 212dd593d..d07866401 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -22,7 +22,7 @@ Main = # Don't run inside ad iframes. try - return if window.frameElement and window.frameElement.src is '' + 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