aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-05-09 08:25:05 -0400
committergorhill <rhill@raymondhill.net>2015-05-09 08:25:05 -0400
commit7eed999ff37be07e594bd1de9bf738aad09d6ef9 (patch)
treea3457b506568fdbe4b63a9762d0ea8011eca4cb5
parentdc1180c1e76746fa46589bf74e4c3b58ef90376f (diff)
downloaduBlock-7eed999ff37be07e594bd1de9bf738aad09d6ef9.zip
uBlock-7eed999ff37be07e594bd1de9bf738aad09d6ef9.tar.gz
uBlock-7eed999ff37be07e594bd1de9bf738aad09d6ef9.tar.bz2
this fixes #188
-rw-r--r--src/js/messaging.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/messaging.js b/src/js/messaging.js
index 7d7d494..c5d0fc1 100644
--- a/src/js/messaging.js
+++ b/src/js/messaging.js
@@ -352,6 +352,8 @@ var onMessage = function(request, sender, callback) {
request.srcHostname,
request.desHostnames
);
+ // https://github.com/gorhill/uBlock/issues/188
+ µb.cosmeticFilteringEngine.removeFromSelectorCache(request.srcHostname, 'net');
response = getStats(request.tabId);
break;