How to determine incognito mode from content_scripts extension?
From the content script read the BOOL property: chrome.extension.inIncognitoContext < / b>.
It's clear if the user allows the extension to work in such tabs.Anonymous
To place the code, please use CodePen or similar tool. Thanks you!