News for hackers. Stuff that matters.
Re:P2P Matrix by kibwen on Tuesday June 02, 2020 @05:39PM (#23396654)
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?
Re:P2P Matrix by Arathorn on Tuesday June 02, 2020 @06:48PM (#23397410)
Empirically 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_Wor...

Re:P2P Matrix by ehsankia on Tuesday June 02, 2020 @07:14PM (#23397669)
Doesn'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?
Re:P2P Matrix by alaroldai on Tuesday June 02, 2020 @05:44PM (#23396711)
I'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?