2 ms·
A big question that I don't see addressed in the text or asked here yet: why does this require the user to not be in private browsing mode? Some necessary API t
by kibwen 6y ago
A big question that I don't see addressed in the text or asked here yet: why does this require the user to not be in private browsing mode? Some necessary API that's not available in incognito mode? Is the restriction temporary?
- alaroldai 6y agoI'm not a web dev, but I'd guess this is because the implementation relies on browser storage, which is removed when a private browsing session ends. So possibly it would work, but only until the tab / window was closed?
- Arathorn 6y agoEmpirically service workers don't seem to work in private browsing mode, and the demo relies on running Dendrite as a service worker. > In Firefox, Service Worker APIs are also hidden and cannot be used when the user is in private browsing mode. Says https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...
- ehsankia 6y agoDoesn't any difference then become a way for websites to detect if you're in incognito, which is something browsers have been fighting back and forth every version?