Refix error message in ad iframes.

This commit is contained in:
ccd0 2017-11-01 08:35:01 -07:00
parent bea209ddc1
commit b53bd98f66

View File

@ -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