Hacker News new | ask | show | jobs
by rieTohgh6 1338 days ago
I am guessing Local Storage or something like that. That mode just breaks bunch of APIs to work, it is not as simple as "just delete all cookies on start and after tab is closed"
1 comments

Why is it any different than cookies and firefox does not suply a fresh local storage to websites?
I'd like to know this, too -- how can a website even know if my browser is in private mode?
depending on which browser you are using there are slight changes to the api's accessable to web sites depending if you are in private mode or not. For example, in firefox private mode service workers are not avalable so a simple check to see if navigator.serviceWorker is undefined is all you need. Other browsers have other tells such as what types of storage are avilable, the size of storage (if avalable).
I have service workers disabled in my main firefox profile and haven't noticed any websites breaking because of it.
Its not the only signal, was just the first one that jumped to mind.

EDIT: Looks like tmobile are checking indexedDB to check if firefox is in private mode or not.

Firefox gradually adds protections against fingerprinting methods that aren't just cookies. Of course, sometimes this means stepping on borderline cases of legitimate API usage. Also these protections are added for the private mode first.