Index: lib/requestBlocker.js |
=================================================================== |
--- a/lib/requestBlocker.js |
+++ b/lib/requestBlocker.js |
@@ -19,19 +19,20 @@ |
"use strict"; |
const {Filter, RegExpFilter, BlockingFilter} = |
require("../adblockpluscore/lib/filterClasses"); |
const {Subscription} = require("../adblockpluscore/lib/subscriptionClasses"); |
const {defaultMatcher} = require("../adblockpluscore/lib/matcher"); |
const {filterNotifier} = require("../adblockpluscore/lib/filterNotifier"); |
+const {isThirdParty} = require("../adblockpluscore/lib/domain"); |
const {Prefs} = require("./prefs"); |
const {checkWhitelisted, getKey} = require("./whitelisting"); |
-const {extractHostFromFrame, isThirdParty} = require("./url"); |
+const {extractHostFromFrame} = require("./url"); |
const {port} = require("./messaging"); |
const {logRequest: hitLoggerLogRequest} = require("./hitLogger"); |
const extensionProtocol = new URL(browser.extension.getURL("")).protocol; |
// Chrome can't distinguish between OBJECT_SUBREQUEST and OBJECT requests. |
if (!browser.webRequest.ResourceType || |
!("OBJECT_SUBREQUEST" in browser.webRequest.ResourceType)) |