Make iframe bug workaround handle case where styles are injected into document.head by other scripts. #454
This commit is contained in:
parent
8ae09a09d8
commit
aba8c3653e
@ -1,7 +1,7 @@
|
||||
Main =
|
||||
init: ->
|
||||
# XXX Work around Pale Moon iframe bug.
|
||||
return if d.body and not d.head.firstChild
|
||||
# XXX Work around Pale Moon / old Firefox + GM 1.15 bug where script runs in iframe with wrong window.location.
|
||||
return if d.body and not $ 'title', d.head
|
||||
|
||||
# XXX dwb userscripts extension reloads scripts run at document-start when replaceState/pushState is called.
|
||||
return if window['<%= meta.name %> antidup']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user