N
N
Nadim Zakirov2020-11-10 14:59:07
JavaScript
Nadim Zakirov, 2020-11-10 14:59:07

How to detect incognito mode from content_scripts extension?

Is it possible to determine the fact of using incognito mode from the content script of your extension?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
acwartz, 2020-11-10
@zkrvndm

Read BOOL property from content script: chrome.extension.inIncognitoContext .
Of course, if the user allows the extension to work in such tabs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question