Index: webrequest.js |
diff --git a/webrequest.js b/webrequest.js |
index e8ecd640bcddf12318831ef72c05727ca7e02f58..55668bdd6ef490edd4183672ff455bb343d9bff3 100644 |
--- a/webrequest.js |
+++ b/webrequest.js |
@@ -65,11 +65,14 @@ function onBeforeRequest(url, type, page, frame) |
var docDomain = extractHostFromFrame(frame); |
var key = getKey(page, frame); |
+ var specificOnly = isFrameWhitelisted(page, frame, |
+ RegExpFilter.typeMap.GENERICBLOCK); |
var filter = defaultMatcher.matchesAny( |
stringifyURL(url), |
RegExpFilter.typeMap[type], docDomain, |
isThirdParty(url, docDomain), |
- key |
+ key, |
+ specificOnly |
); |
setTimeout(onBeforeRequestAsync, 0, url, type, page, filter); |