ma1 pushed to branch tor-browser-115.9.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
- 
4d7d8276
by hackademix at 2024-04-08T09:31:41+02:00
1 changed file:
Changes:
| ... | ... | @@ -398,8 +398,11 @@ XPCOMUtils.defineLazyGetter(this, "NewIdentityButton", () => { | 
| 398 | 398 |          const homePref = "browser.startup.homepage";
 | 
| 399 | 399 |          const trustedHomePref = "browser.startup.homepage.new_identity";
 | 
| 400 | 400 |          const homeURL = Services.prefs.getStringPref(homePref, "");
 | 
| 401 | +        const defaultHomeURL = Services.prefs
 | |
| 402 | +          .getDefaultBranch("")
 | |
| 403 | +          .getStringPref(homePref, "");
 | |
| 401 | 404 |          const isTrustedHome =
 | 
| 402 | -          homeURL === "about:tor" ||
 | |
| 405 | +          homeURL === defaultHomeURL ||
 | |
| 403 | 406 |            homeURL.startsWith("chrome://") || // about:blank and other built-ins
 | 
| 404 | 407 |            homeURL === Services.prefs.getStringPref(trustedHomePref, "");
 | 
| 405 | 408 |          const isCustomHome =
 |