Work around Pale Moon iframe bug. #451

This commit is contained in:
ccd0 2015-08-10 22:07:33 -07:00
parent 38d3eaeac1
commit d22cfa1e9e

View File

@ -1,5 +1,8 @@
Main =
init: ->
# XXX Work around Pale Moon iframe bug.
return if d.body and not d.head.firstChild
# XXX dwb userscripts extension reloads scripts run at document-start when replaceState/pushState is called.
return if window['<%= meta.name %> antidup']
window['<%= meta.name %> antidup'] = true