Index: lib/contentPolicy.js |
=================================================================== |
--- a/lib/contentPolicy.js |
+++ b/lib/contentPolicy.js |
@@ -134,17 +134,17 @@ var Policy = exports.Policy = |
} |
function response(allow, collapse) |
{ |
return {allow, collapse, hits}; |
} |
// Ignore whitelisted schemes |
- if (!this.isBlockableScheme(location)) |
+ if (contentType != "POPUP" && !this.isBlockableScheme(location)) |
return response(true, false); |
// Interpret unknown types as "other" |
contentType = this.contentTypes.get(contentType) || "OTHER"; |
let nogeneric = false; |
if (Prefs.enabled) |
{ |