Index: background.js |
=================================================================== |
--- a/background.js |
+++ b/background.js |
@@ -339,6 +339,7 @@ |
var typeMask = RegExpFilter.typeMap[msg.mediatype]; |
var documentHost = extractHostFromFrame(sender.frame); |
+ var sitekey = getKey(sender.page, sender.frame); |
var blocked = false; |
for (var i = 0; i < msg.urls.length; i++) |
@@ -346,7 +347,7 @@ |
var url = new URL(msg.urls[i], msg.baseURL); |
var filter = defaultMatcher.matchesAny( |
stringifyURL(url), typeMask, |
- documentHost, isThirdParty(url, documentHost) |
+ documentHost, isThirdParty(url, documentHost), sitekey |
); |
if (filter instanceof BlockingFilter) |