mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 08:52:45 +01:00
Firefox: 'load' -> 'DOMContentLoaded'
This commit is contained in:
parent
1eb81e4083
commit
0e7122edf4
@ -331,7 +331,7 @@ vAPI.tabs.registerListeners = function() {
|
|||||||
for (var win of vAPI.tabs.getWindows()) {
|
for (var win of vAPI.tabs.getWindows()) {
|
||||||
vAPI.toolbarButton.remove(win.document);
|
vAPI.toolbarButton.remove(win.document);
|
||||||
|
|
||||||
win.removeEventListener('load', windowWatcher.onReady);
|
win.removeEventListener('DOMContentLoaded', windowWatcher.onReady);
|
||||||
win.gBrowser.removeTabsProgressListener(tabsProgressListener);
|
win.gBrowser.removeTabsProgressListener(tabsProgressListener);
|
||||||
|
|
||||||
var tC = win.gBrowser.tabContainer;
|
var tC = win.gBrowser.tabContainer;
|
||||||
|
Loading…
Reference in New Issue
Block a user