Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions experimenter/experimenter/targeting/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,42 @@ def __post_init__(self):
application_choice_names=(Application.DESKTOP.name,),
)

WINDOWS_LAUNCH_AT_LOGIN_FINAL = NimbusTargetingConfig(
name="Windows users eligible for launch at login - final",
slug="windows_launch_at_login_eligible_final",
description="Users eligible for the launch-at-login-infobar-existing-user treatment.",
targeting=(
"os.isWindows && os.windowsVersion >= 10 && !launchOnLoginEnabled && "
"launchOnLoginAllowedByPolicy && "
"'browser.startup.windowsLaunchOnLogin.enabled'|preferenceValue && "
"(!isMSIX || os.windowsBuildNumber >= 22000) && "
"profileAgeCreated < '2026-06-16'|date && "
"profileGroupProfileCount < 2 && "
"!hasActiveEnterprisePolicies && "
"userMonthlyActivity|length < 25 && "
"'browser.contentblocking.category'|preferenceValue == 'standard' && "
"!'privacy.globalprivacycontrol.enabled'|preferenceValue && "
"!'dom.security.https_only_mode'|preferenceValue && "
"!'dom.security.https_only_mode_pbm'|preferenceValue && "
"'browser.newtabpage.activity-stream.feeds.topsites'|preferenceValue && "
"'browser.newtabpage.activity-stream.showSponsoredTopSites'|preferenceValue && "
"'browser.newtabpage.activity-stream.feeds.section.topstories'|preferenceValue"
" && 'browser.newtabpage.activity-stream.showSponsored'|preferenceValue && "
"'browser.urlbar.suggest.quicksuggest.all'|preferenceValue && "
"'browser.urlbar.suggest.quicksuggest.sponsored'|preferenceValue && "
"!addonsInfo.addons['{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}'] && "
"!addonsInfo.addons['uBlock0@raymondhill.net'] && "
"!addonsInfo.addons['adguardadblocker@adguard.com'] && "
"!addonsInfo.addons['jid1-NIfFY2CA8fy1tg@jetpack'] && "
"!addonsInfo.addons['adblockultimate@adblockultimate.net'] && "
"!addonsInfo.addons['firefox@ghostery.com']"
),
desktop_telemetry="",
sticky_required=False,
is_first_run_required=False,
application_choice_names=(Application.DESKTOP.name,),
)

EXISTING_USERS_PDF_PROMO_ELIGIBLE = NimbusTargetingConfig(
name="Windows 10+ users eligible for Split PDF promo",
slug="win10_pdf_split_promo",
Expand Down
Loading