Index: webrequest.js |
diff --git a/webrequest.js b/webrequest.js |
index e8ecd640bcddf12318831ef72c05727ca7e02f58..d10134c2f95a8d426f5179aa2f096701f4967cb0 100644 |
--- a/webrequest.js |
+++ b/webrequest.js |
@@ -65,11 +65,13 @@ 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); |