Index: lib/elemHide.js |
=================================================================== |
--- a/lib/elemHide.js |
+++ b/lib/elemHide.js |
@@ -217,17 +217,17 @@ let ElemHide = exports.ElemHide = |
location: { |
href: message.frames[i].location |
}, |
document: { |
documentElement: {} |
}, |
QueryInterface: function() {return this;}, |
getInterface: function() {return this;}, |
- usePrivateBrowsing: (fakeFrame ? fakeFrame.usePrivateBrowsing : message.frames[i].privateBrowsing) |
+ usePrivateBrowsing: message.isPrivate |
}; |
fakeFrame.top = fakeFrame.parent || fakeFrame; |
if (!fakeFrame.parent) |
fakeFrame.parent = fakeFrame; |
let sitekey = message.frames[i].sitekey || null; |
fakeFrame.document.documentElement.getAttribute = function(attr) |
{ |