For as long as the NY Times had a free article limit you were able to bypass it using incognito mode but it seems this is no longer the case. Earlier today I tried checking out an article in incognito mode and received a prompt to “Log in or create a free New York Times account to continue reading in private mode.” The loophole was fun while it lasted and glad they finally patched it up - despite the fact that I no longer have unlimited articles.

I was a bit curious to see how this was implemented and it turns out that this logic is served in the JavaScript loaded for every article page rather than relying on a standalone script. Chrome has a pretty nice ability to block requests to specific URLs or domains and blocking the request to that story’s JavaScript ( https://www.nytimes.com/vi-assets/static-assets/story-b62c89165cd61167dc0c.js) prevented the prompt from showing up. It’s likely this heavy-handed approach blocked a chunk of the site’s functionality but my goal was to see what I can do to bypass the incognito check.

It’s nice to know that it’s technically possible to bypass this incognito check but it’s not simple and has to be done separately for each site given the unique JavaScript URL. It’s a step in the right direction and I’m glad they’re finally taking this more seriously. To eliminate this vector they can have the incognito check in-lined into the initial page load but so long as it’s done in JavaScript there will always be a workaround.


Read more!