Ask HN: How does this website know I'm in incognito mode?
[1] https://www.technologyreview.com/s/429438/dear-everyone-teaching-programming-youre-doing-it-wrong/
[1] https://www.technologyreview.com/s/429438/dear-everyone-teaching-programming-youre-doing-it-wrong/
https://github.com/Maykonn/js-detect-incognito-private-brows...
https://gist.github.com/matyasfodor/15e8863ab15baf4791a5fa4c...
And FYI in Chrome it's very easy to just F12, Application tab, Clear storage in the left menu and "Clear site data" at the bottom on the right to get past all these "you've read too much" blockers.
What browser and OS are you using? Do you have any plugins/extensions active? (Ad blockers, etc. I don't run any, NoScript does a better job.)
In article.js loaded with this page there is a section that looks like:
dataLayer.push({event:"mittr:detectIncognitoMode",action:"detect",category:"incognito-mode",label:n})
Commenting out the function block surrounding it where it starts with "function y() {..." stops the class ".incognito-wall-shown" from being applied to "section.incognito-wall" found in the main HTML page - although this is just a quick dig and haven't debugged any further (I'm halfway through something else but this caught my interest ;) )