private-browsing.md (2685B)
PrivateBrowsing
What is PrivateBrowsing?
Messages shown inside about:privatebrowsing (incognito) content page. This messaging surface allows experimentation on content shown (promotion and info section) when new private window or tab is opened.
Example of a PrivateBrowsing window

Testing PrivateBrowsing
Via the dev tools:
- Note: Modifying the
labelproperty will change the text within the buttons, eg:"label": "Disable" - Note: Modifying the
labelproperty will change the text within the buttons, eg:"label": "Disable" - Note: Modifying the
labelproperty will change the text within the buttons, eg:"label": "Disable" - Note: Modifying the
labelproperty will change the text within the buttons, eg:"label": "Disable" - Note: Modifying the
labelproperty will change the text within the buttons, eg:"label": "Disable" - Note: Modifying the
labelproperty will change the text within the buttons, eg:"label": "Disable"

- Note: Modifying the
labelproperty will change the text within the buttons, eg:"label": "Disable"
Via Experiments:
You can test any privatebrowsing custom message UI by creating an experiment. Messaging Journey captures creating experiments via Nimbus.
Example of messaging in privatebrowsing window
{
"id": "TEST_PBM_PROMO",
"template": "pb_newtab",
"content": {
"promoEnabled": true,
"promoType": "VPN",
"infoEnabled": true,
"infoBody": "Nightly clears your search and browsing history",
"infoLinkText": "Click Here to Learn More",
"infoTitleEnabled": false,
"promoLinkType": "button",
"promoLinkText": "fluent:about-private-browsing-prominent-cta",
"promoSectionStyle": "below-search",
"promoHeader": "Get privacy protections",
"promoTitle": "Hide browsing activity and location with Mozilla VPN. One click creates a secure connection",
"promoTitleEnabled": true,
"promoImageLarge": "chrome://browser/content/assets/moz-vpn.svg",
"promoButton": {
"action": {
"type": "OPEN_URL",
"data": {
"args": "https://vpn.mozilla.org/"
}
}
}
},
"targeting": "firefoxVersion >= 89",
"frequency": {
"lifetime": 3
}
}