Flarp/Distri.js

Add global iframe cookie storage

Flarp opened this issue · 2 comments

Flarp commented

Using cross-origin communication with postMessage, save the cookies that are being saved individually in each site on one site, distri.js.org/cookies. This can also alert other tabs that a Distri session is already running, so it will not start another one.

Flarp commented

This should fallback to using cookies on the page it is on if the iframe cannot be accessed (due to content security policies or the iframe website being down)