detect-incognito (npm): detectIncognito.js can be used to detect incognito mode & other private browsing modes on most modern browsers as of March 2022.
Keywords: incognito|browser|chrome|edge|firefox|incognito-browsing|incognito-mode|incognito-window|internet-explorer|javascript|private-browsing|safari