1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

How does NYT detect private mode?

Discussion in 'Scripting' started by bartosimpsonio, Jun 11, 2019.

  1. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP

    Joined:
    Mar 21, 2013
    Messages:
    16,335
    Likes Received:
    15,071
    Occupation:
    DO NOT CLICK
    Location:
    THIS LINK ⇊⇊⇊⇊
    Home Page:
    Do browsers tell the sites when users are in private mode? Isn't this a major flaw?

    private.png
     
    • Thanks Thanks x 2
  2. Hyper999

    Hyper999 Jr. VIP Jr. VIP

    Joined:
    Apr 14, 2019
    Messages:
    108
    Likes Received:
    40
    Gender:
    Male
    Javascript can track your browser's history, installed plugins, screen resolution etc.. Chrome private mode is a joke.
     
    • Thanks Thanks x 1
  3. it's simple fingerprinting of loophole. When you're in a chromium based incognito mode - FileSystem API is disabled - so script can detect incognito mode.

    For example - https://jsfiddle.net/w49x9f1a/

    visit above link in normal and incognito modes. :D
     
    • Thanks Thanks x 2
  4. Houdinii

    Houdinii Jr. VIP Jr. VIP

    Joined:
    Nov 12, 2012
    Messages:
    270
    Likes Received:
    365
    Gender:
    Male
    I found a GitHub repo that's regularly updated with an interesting little script that checks for chrome, firefox, opera, safari, edge, the whole gamut. Thanks for that, learned quite a bit. :
    Code:
    https://gist.github.com/jherax/a81c8c132d09cc354a0e2cb911841ff1
    
     
    • Thanks Thanks x 3
  5. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP

    Joined:
    Mar 21, 2013
    Messages:
    16,335
    Likes Received:
    15,071
    Occupation:
    DO NOT CLICK
    Location:
    THIS LINK ⇊⇊⇊⇊
    Home Page:
    Nailed it.

    I'm sure that's a "feature" that was "forgotten" by our privacy loving friends behind Chrome.

    Interesting find. I hadn't heard of any of this till today. Shows there is massive opportunity in browsers.
     
  6. Houdinii

    Houdinii Jr. VIP Jr. VIP

    Joined:
    Nov 12, 2012
    Messages:
    270
    Likes Received:
    365
    Gender:
    Male
    I just read that Google Canary will be making all this obsolete. Once they roll out this summer, I'm sure everyone will be fixing the hole. They already have it fixed in version 74.0.3718.0, which is downloadable now I believe.
     
    • Thanks Thanks x 1
  7. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP

    Joined:
    Mar 21, 2013
    Messages:
    16,335
    Likes Received:
    15,071
    Occupation:
    DO NOT CLICK
    Location:
    THIS LINK ⇊⇊⇊⇊
    Home Page:
    Curious to learn a bit more about this. Where can I learn more about it?
     
  8. Houdinii

    Houdinii Jr. VIP Jr. VIP

    Joined:
    Nov 12, 2012
    Messages:
    270
    Likes Received:
    365
    Gender:
    Male
    • Thanks Thanks x 1
  9. iNFERNiS

    iNFERNiS Newbie

    Joined:
    Jul 3, 2019
    Messages:
    4
    Likes Received:
    0
    Gender:
    Male
    Use the brave browser.,,,