According to this post https://stackoverflow.com/questions/417 ... ent-script should be able to use
Code: Select all
console.log(browser.extension.inIncognitoContext);
Some help getting my extension to determine browser mode would be appreciated. Either using above idea, or I saw in my searching there was mention (but no examples) of API's that extensions could use to determine if they were in private mode.