From 72e4585d645501e4b4801a7b4d9fb614d0d2546a Mon Sep 17 00:00:00 2001 From: Infocatcher Date: Tue, 8 Dec 2015 00:13:28 +0300 Subject: [PATCH] Add notes about Firefox versions and browser-trackingprotection.js (#196) --- bootstrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.js b/bootstrap.js index f02b432..bb323f5 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -3776,7 +3776,7 @@ var privateTab = { this.updateTabsInTitlebar(document); if(prefs.get("patchDownloads")) this.updateDownloadPanel(window, isPrivate); - if(!isPrivate && "TrackingProtection" in window) window.setTimeout(function() { + if(!isPrivate && "TrackingProtection" in window) window.setTimeout(function() { // Firefox 42+ if(!window.TrackingProtection.enabled) window.TrackingProtection.icon.removeAttribute("state"); }, 0); @@ -3902,7 +3902,7 @@ var privateTab = { && _this.isStackFromDownloads(stack); var fromTrackingProtection = !fromSearchBar && !fromDownloads && ( stack.indexOf("\nTrackingProtection.enabled@chrome://browser/content/browser.js:") != -1 - || stack.indexOf("@chrome://browser/content/browser-trackingprotection.js:") != -1 + || stack.indexOf("@chrome://browser/content/browser-trackingprotection.js:") != -1 // Firefox 45+ ); _dbgv && _log(key + "():\n" + stack); if(fromSearchBar || fromDownloads || fromTrackingProtection) try {