Work around Pale Moon iframe bug. #451
This commit is contained in:
parent
38d3eaeac1
commit
d22cfa1e9e
@ -1,5 +1,8 @@
|
|||||||
Main =
|
Main =
|
||||||
init: ->
|
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.
|
# XXX dwb userscripts extension reloads scripts run at document-start when replaceState/pushState is called.
|
||||||
return if window['<%= meta.name %> antidup']
|
return if window['<%= meta.name %> antidup']
|
||||||
window['<%= meta.name %> antidup'] = true
|
window['<%= meta.name %> antidup'] = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user