1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-26 04:12:50 +01:00

More restrictive monitoring.

Probably doesn't make a difference, but at least theoretically more efficient.
This commit is contained in:
AlexVallat 2015-03-26 21:11:54 +00:00
parent 6123335c51
commit 7ec717d3fe

View File

@ -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);
}
}
}