Index: lib/whitelisting.js |
=================================================================== |
--- a/lib/whitelisting.js |
+++ b/lib/whitelisting.js |
@@ -18,17 +18,18 @@ |
/** @module whitelisting */ |
"use strict"; |
const {defaultMatcher} = require("../adblockpluscore/lib/matcher"); |
const {Filter, RegExpFilter} = require("../adblockpluscore/lib/filterClasses"); |
const {filterNotifier} = require("../adblockpluscore/lib/filterNotifier"); |
const {filterStorage} = require("../adblockpluscore/lib/filterStorage"); |
-const {extractHostFromFrame, isThirdParty} = require("./url"); |
+const {isThirdParty} = require("../adblockpluscore/lib/domain"); |
+const {extractHostFromFrame} = require("./url"); |
const {port} = require("./messaging"); |
const {logWhitelistedDocument} = require("./hitLogger"); |
const {verifySignature} = require("../adblockpluscore/lib/rsa"); |
let sitekeys = new ext.PageMap(); |
function match(page, url, typeMask, docDomain, sitekey) |
{ |