tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 4c88db88956d380ec87854dc031548c8aaa2d795
parent d375bf89a148159ef4a01fcd9303b4fc5ee8e757
Author: Reem H <42309026+reemhamz@users.noreply.github.com>
Date:   Thu, 23 Oct 2025 01:22:17 +0000

Bug 1995882 - Add more regions for weather opt-in feature. r=home-newtab-reviewers,npypchenko

Differential Revision: https://phabricator.services.mozilla.com/D269691

Diffstat:
Mbrowser/extensions/newtab/lib/ActivityStream.sys.mjs | 52++++++++++++++++++++++++++++++++--------------------
1 file changed, 32 insertions(+), 20 deletions(-)

diff --git a/browser/extensions/newtab/lib/ActivityStream.sys.mjs b/browser/extensions/newtab/lib/ActivityStream.sys.mjs @@ -96,26 +96,38 @@ const LOCALE_SECTIONS_CONFIG = const BROWSER_URLBAR_PLACEHOLDERNAME = "browser.urlbar.placeholderName"; export const WEATHER_OPTIN_REGIONS = [ - "DE", - "GB", - "FR", - "ES", - "IT", - "CH", - "AT", - "BE", - "IE", - "NL", - "PL", - "CZ", - "SE", - "SG", - "HU", - "SK", - "FI", - "DK", - "NO", - "PT", + "AT", // Austria + "BE", // Belgium + "BG", // Bulgaria + "HR", // Croatia + "CY", // Cyprus + "CZ", // Czechia + "DK", // Denmark + "EE", // Estonia + "FI", // Finland + "FR", // France + "DE", // Germany + "GB", // United Kingdom + "GR", // Greece + "HU", // Hungary + "IS", // Iceland + "IE", // Ireland + "IT", // Italy + "LV", // Latvia + "LI", // Liechtenstein + "LT", // Lithuania + "MT", // Malta + "NL", // Netherlands + "NO", // Norway + "PL", // Poland + "PT", // Portugal + "RO", // Romania + "SG", // Singapore + "SK", // Slovakia + "SI", // Slovenia + "ES", // Spain + "SE", // Sweden + "CH", // Switzerland ]; export function csvPrefHasValue(stringPrefName, value) {