Skip to content

Commit

Permalink
Add notes about Firefox versions and browser-trackingprotection.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Infocatcher committed Dec 7, 2015
1 parent 3a95535 commit 72e4585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 72e4585

Please sign in to comment.