Index: webrequest.js |
diff --git a/webrequest.js b/webrequest.js |
index 68999d9c16e1ef4e7dea55dec66b134ec12b13a0..2da776efcd96001ca4581c264b4ef60e967c763b 100644 |
--- a/webrequest.js |
+++ b/webrequest.js |
@@ -61,11 +61,13 @@ 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, docDomain, |
isThirdParty(url, docDomain), |
- key |
+ key, |
+ specificOnly |
); |
// We can't listen to onHeadersReceived in Safari so we need to |