Index: webrequest.js |
diff --git a/webrequest.js b/webrequest.js |
index 51737c5ed23e4cd6700fca4cd096a59170751d88..27457079396bdc0a73346746946c02e9c9f029fe 100644 |
--- a/webrequest.js |
+++ b/webrequest.js |
@@ -54,12 +54,14 @@ function onBeforeRequest(url, type, page, frame) |
var docDomain = extractHostFromFrame(frame); |
var key = getKey(page, frame); |
+ var specificOnly = isFrameWhitelisted(page, frame, "GENERICBLOCK"); |
var filter = defaultMatcher.matchesAny( |
stringifyURL(url), |
type == "sub_frame" ? "SUBDOCUMENT" : type.toUpperCase(), |
docDomain, |
isThirdParty(url, docDomain), |
- key |
+ key, |
+ specificOnly |
Sebastian Noack
2015/03/12 12:36:12
I suppose this isn't the only call that needs to b
kzar
2015/03/12 19:22:45
Good point, I didn't consider popups! I updated my
|
); |
// We can't listen to onHeadersReceived in Safari so we need to |