Tolerate broken HTML better.
The bug this check was introduced to fix was sufficiently ameliorated by commit 21484ec7114646992cb0de24eb3b6fb6e1e306d7 so this is safe to remove.
This commit is contained in:
parent
5cb0c1a213
commit
8cff55c70e
@ -1,8 +1,5 @@
|
|||||||
Main =
|
Main =
|
||||||
init: ->
|
init: ->
|
||||||
# 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.
|
# XXX dwb userscripts extension reloads scripts run at document-start when replaceState/pushState is called.
|
||||||
# XXX Firefox reinjects WebExtension content scripts when extension is updated / reloaded.
|
# XXX Firefox reinjects WebExtension content scripts when extension is updated / reloaded.
|
||||||
try
|
try
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user