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:
ccd0 2019-04-09 08:18:23 -07:00
parent 5cb0c1a213
commit 8cff55c70e

View File

@ -1,8 +1,5 @@
Main =
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 Firefox reinjects WebExtension content scripts when extension is updated / reloaded.
try