Index: lib/contentFiltering.js |
=================================================================== |
--- a/lib/contentFiltering.js |
+++ b/lib/contentFiltering.js |
@@ -17,17 +17,17 @@ |
/** @module contentFiltering */ |
"use strict"; |
const {RegExpFilter} = require("../adblockpluscore/lib/filterClasses"); |
const {ElemHide} = require("../adblockpluscore/lib/elemHide"); |
const {ElemHideEmulation} = require("../adblockpluscore/lib/elemHideEmulation"); |
-const {FilterNotifier} = require("../adblockpluscore/lib/filterNotifier"); |
+const {filterNotifier} = require("../adblockpluscore/lib/filterNotifier"); |
const {Snippets, compileScript} = require("../adblockpluscore/lib/snippets"); |
const {checkWhitelisted} = require("./whitelisting"); |
const {extractHostFromFrame} = require("./url"); |
const {port} = require("./messaging"); |
const {HitLogger, logRequest} = require("./hitLogger"); |
const info = require("info"); |
// Chromium's support for tabs.removeCSS is still a work in progress and the |
@@ -235,17 +235,17 @@ |
if (snippets) |
{ |
for (let filter of Snippets.getFiltersForDomain(docDomain)) |
{ |
executeScript(filter.script, sender.page.id, sender.frame.id).then(() => |
{ |
let tabIds = [sender.page.id]; |
if (filter) |
- FilterNotifier.emit("filter.hitCount", filter, 0, 0, tabIds); |
+ filterNotifier.emit("filter.hitCount", filter, 0, 0, tabIds); |
logRequest(tabIds, { |
url: sender.frame.url.href, |
type: "SNIPPET", |
docDomain |
}, filter); |
}); |
} |