mirror of https://github.com/gorhill/uBlock.git
More restrictive monitoring.
Probably doesn't make a difference, but at least theoretically more efficient.
This commit is contained in:
parent
6123335c51
commit
7ec717d3fe
|
@ -317,7 +317,7 @@ const LocationChangeListener = function(docShell) {
|
|||
this.messageManager = docShell.getInterface(Ci.nsIContentFrameMessageManager);
|
||||
|
||||
if (this.messageManager && typeof this.messageManager.sendAsyncMessage === 'function') {
|
||||
this.docShell.addProgressListener(this, Ci.nsIWebProgress.NOTIFY_ALL);
|
||||
this.docShell.addProgressListener(this, Ci.nsIWebProgress.NOTIFY_LOCATION);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue