Index: lib/contentPolicy.js |
=================================================================== |
--- a/lib/contentPolicy.js |
+++ b/lib/contentPolicy.js |
@@ -107,17 +107,18 @@ var Policy = exports.Policy = |
let hits = []; |
function addHit(frameIndex, contentType, docDomain, thirdParty, location, filter) |
{ |
if (filter && !isPrivate) |
FilterStorage.increaseHitCount(filter); |
hits.push({ |
frameIndex, contentType, docDomain, thirdParty, location, |
- filter: filter ? filter.text : null |
+ filter: filter ? filter.text : null, |
+ filterType: filter ? filter.type : null |
}); |
} |
function response(allow, collapse) |
{ |
return {allow, collapse, hits}; |
} |