How to detect incognito mode from extension background

Viewed 3739

I have specified "incognito" as "split" in my manifest file.

http://developer.chrome.com/extensions/manifest.html#incognito

So if the app or extension contains a background page, that will also run in the incognito process. This incognito process runs along side the regular process, but has a separate memory-only cookie store.

So how can I detect whether the background page is running in incognito process.

1 Answers
Related