docs.rodeo

MDN Web Docs mirror

incognito

{{AddonSidebar}} 

Type String
Mandatory No
Manifest version 2 or higher
Example
"incognito": "spanning"
"incognito": "split"
"incognito": "not_allowed"

Use the incognito key to control how the extension works with private browsing windows.

[!NOTE] By default, extensions do not run in private browsing windows. Whether an extension can access private browsing windows is under user control. For details, see Extensions in Private Browsing. Your extension can check whether it can access private browsing windows using {{WebExtAPIRef("extension.isAllowedIncognitoAccess")}} .

This is a string that can take any of these values:

Example

"incognito": "spanning"
"incognito": "split"
"incognito": "not_allowed"

Browser compatibility

{{Compat}} 

In this article

View on MDN