1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-14 08:15:03 +12: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 committed by gorhill
parent c5546e322f
commit 822d78be1b

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