tor-browser

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

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

Private Browsing

Testing PrivateBrowsing

Via the dev tools:

  1. Note: Modifying the label property will change the text within the buttons, eg: "label": "Disable"
  2. Note: Modifying the label property will change the text within the buttons, eg: "label": "Disable"
  3. Note: Modifying the label property will change the text within the buttons, eg: "label": "Disable"
  4. Note: Modifying the label property will change the text within the buttons, eg: "label": "Disable"
  5. Note: Modifying the label property will change the text within the buttons, eg: "label": "Disable"
  6. Note: Modifying the label property will change the text within the buttons, eg: "label": "Disable"

Circle

  1. Note: Modifying the label property 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
  }
}