Skip to content

Commit

Permalink
Fix tracking protection icon in Firefox 42-44
Browse files Browse the repository at this point in the history
  • Loading branch information
Infocatcher committed Dec 7, 2015
1 parent 2d0d619 commit d56dcb6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3895,8 +3895,10 @@ var privateTab = {
|| stack.indexOf("\ndoSearch@chrome://tabmixplus/content/changecode.js:") != -1;
var fromDownloads = !fromSearchBar && prefs.get("patchDownloads")
&& _this.isStackFromDownloads(stack);
var fromTrackingProtection = !fromSearchBar && !fromDownloads
&& stack.indexOf("@chrome://browser/content/browser-trackingprotection.js:") != -1;
var fromTrackingProtection = !fromSearchBar && !fromDownloads && (
stack.indexOf("\nTrackingProtection.enabled@chrome://browser/content/browser.js:") != -1
|| stack.indexOf("@chrome://browser/content/browser-trackingprotection.js:") != -1
);
_dbgv && _log(key + "():\n" + stack);
if(fromSearchBar || fromDownloads || fromTrackingProtection) try {
var isPrivate = _this.isPrivateContent(window);
Expand Down

0 comments on commit d56dcb6

Please sign in to comment.