3

Is there a way to detect if the user is browsing using "incognito mode"? No matter if it is PHP, JS, HTML or etc method.

Thanks!

  • can you define what "incognito mode" is? –  Jan 26 '17 at 20:15
  • Private browsing. Ctrl (Command) + Shift + N in Chrome. – dialektaotmekite Jan 26 '17 at 20:17
  • You may only find indirect indicators, for example if no advertisement cookies are present at all, but that is quite an effort, since you have to get around all the security measurements taken in today's browsers... – arkascha Jan 26 '17 at 20:17
  • @MattS I've checked it, but this doesn't work for me. – dialektaotmekite Jan 26 '17 at 20:17
  • @arkascha so there is no "easy way"? I can't believe. – dialektaotmekite Jan 26 '17 at 20:18
  • @MattS 's link above lists a few approaches that sound logical. Give it a try. – arkascha Jan 26 '17 at 20:19
  • so you dont want to detect other browsers 'privacy modes" just chrome? –  Jan 26 '17 at 20:21
  • I don't think that's possible. It isn't surprising, though, I don't see how this is either useful for you or good for the user. You may be able to get some hints based on cookies and history, but I don't think you could distinguish a private tab from a just cleaned browser. – Gabriel Jan 26 '17 at 22:49

1 Answers1

1

In javascript window.RequestFileSystem function exists, but returns an error in incognito mode. Which is can be used to check incoginto mode.

Rohit Kumar
  • 438
  • 2
  • 6
  • 16