diff options
author | gorhill <rhill@raymondhill.net> | 2014-10-06 14:02:44 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2014-10-06 14:02:44 -0400 |
commit | 9bcad432cfd32439024bd235837bf4b19b640699 (patch) | |
tree | f5e6626b32afdfd772bb8241c931d04e3cf56ffd /js/pagestore.js | |
parent | 422712339357f43b9bb45ab6808dae5ee9679621 (diff) | |
download | uBlock-9bcad432cfd32439024bd235837bf4b19b640699.zip uBlock-9bcad432cfd32439024bd235837bf4b19b640699.tar.gz uBlock-9bcad432cfd32439024bd235837bf4b19b640699.tar.bz2 |
dynamic filtering
Diffstat (limited to 'js/pagestore.js')
-rw-r--r-- | js/pagestore.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/pagestore.js b/js/pagestore.js index 401d78f..fc8c36b 100644 --- a/js/pagestore.js +++ b/js/pagestore.js @@ -425,6 +425,14 @@ PageStore.prototype.setRequestFlags = function(requestURL, targetBits, valueBits /******************************************************************************/ +PageStore.prototype.recordResult = function(requestType, requestURL, result) { + if ( collapsibleRequestTypes.indexOf(requestType) !== -1 || µb.userSettings.logRequests ) { + this.netFilteringCache.add(requestURL, result, requestType, 0); + } +}; + +/******************************************************************************/ + // false: not blocked // true: blocked |