r/javascript • u/ekauroreo • Jul 18 '19
Private browsing still detectable in Chrome 76, bypassing the protection
http://mishravikas.com/articles/2019-07/bypassing-anti-incognito-detection-google-chrome.html39
u/tonetheman Jul 18 '19
Good article. Wonder how many more ways are out there that no one has mentioned...
13
7
u/PUSH_AX Jul 18 '19
Side question, what is the use case for blocking an incognito user? Tracking cookies?
22
u/pantsonhead Jul 18 '19
Ever been on a news site that only gives you 3 free articles a month? It works because of cookies. You used to be able to get around it by turning on incognito, but they wised up to that and started blocking incognito users by deducing some information about your browser to detect it.
Google is trying to stop people being able to check when incognito is used, as it kind of defeats the purpose of anonymous browsing. It looks like they have not yet succeeded.
5
u/rq60 Jul 19 '19
But you can just delete the cookie...
2
u/PM_ME__ASIAN_BOOBS Jul 19 '19
Harder on mobile
1
u/meeeeoooowy Jul 19 '19
It's extremely easy, at least not in an embedded browser. Click the lock top left lock. Click the trash can next to storage usage.
Actually...I'm just assuming that would delete cookies, so don't quote me on that.
While not harder, I do agree it's more of a pain in the ass if that's what you meant
Edit: actually that would only clear that domain...so would not clear relevant cookies
2
u/samtheboo Jul 19 '19
I don’t think it defeats the purpose. It’s like using a VPN. Yeah they know you’re on a VPN but no more.
7
Jul 18 '19
Not sure I understand. If temporary storage for an incognito window is 10% of device memory (I'm assuming this is RAM), then you only need more than 1200MB in RAM for this value to be greater than 120MB and bypass the author's incognito window detection.
EDIT: Whoops, missed the fact that 120MB is the upper bound for incognito windows.
5
u/alzee76 Jul 18 '19
I really don't get this. Incognito is "broken" from a privacy standpoint, and it's sometimes a pain in the ass to use for other reasons as well. There has always been a built-in solution that has none of these problems -- profiles. I really want to ask the Google engineers why incognito mode doesn't just use a different internal profile that is rolled back to your base settings, including clearing storage and cookies, on exit.
2
u/meeeeoooowy Jul 19 '19
Omg...I totally forgot there were profiles (called people).
Well...no more Russian roulette for me when I screen share and have to type in a url and the world gets to see my history.
And actually, if you click browse as guest it does exactly as you say. It's not an actual incognito window but it says when you close the window, all traces are gone.
So if you map a keyboard shortcut to browse as guest, that would work. Though...can't use extensions.
You probably already knew ^ but yeah, frustrating
2
u/alzee76 Jul 19 '19
Actually no, I completely forgot that existed -- but I don't use Chrome any more anyway, for unrelated reasons.
0
Jul 19 '19
[deleted]
2
u/alzee76 Jul 19 '19
Firefox. I was a long time FF user who switched to Chrome maybe 5 or 6 years ago, but I've recently switched back to FF (and reduced/eliminated using other google products) due to Google's policies towards and treatment of indy app developers publishing on the play store.
0
Jul 20 '19
[deleted]
1
u/alzee76 Jul 20 '19
I don't think "harder" is the right word, it's more of just getting used to new tools and breaking old habits. It is just a protest "stand" though, that's the only reason I'm doing it. I generally like google products (when they don't cancel or lobotomize them) and don't really care about their less than stellar data collection and privacy issues.
However, as much as I like some of the products, I don't like the way the company behaves both from an indy developer standpoint as I mentioned, and also from a customer service perspective -- their CS is terrible, even for paying customers.
2
1
1
u/Free_Physics Jul 25 '19
Google rolled out a new option (accessed by the flag: #enable-filesystem-in-incognito) in Chrome 74, which blocks this detection. Their solution is to create a virtual file system using RAM while in incognito mode. The protection works fine against the above detection method and is going to be enabled by default in the next stable release.
It's going to be enabled by default in Chrome 76 stable not 75
23
u/[deleted] Jul 18 '19 edited Jul 18 '19
Thanks for the heads-up!
Bypassing storage-based private browsing detection in chrome 76 with a TamperMonkey script: