Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work cross-browser? #21

Open
KosGrillis opened this issue Feb 1, 2017 · 2 comments
Open

Does this work cross-browser? #21

KosGrillis opened this issue Feb 1, 2017 · 2 comments

Comments

@KosGrillis
Copy link

Can chrome send data to firefox for example?

@malcolmocean
Copy link

from stackoverflow:

Local Storage is "local" in that exact browser and ONLY in that browser. To retrieve something stored in Local Storage, you must use the same browser, the same key and retrieve it from a page in the same origin (e.g. domain).

If you want something available across multiple browsers, then you have to identify the user somehow (usually a user login) and then you need to store the data on a server somewhere so that the data can be served to the same user across multiple browsers.

@qm3ster
Copy link

qm3ster commented Oct 18, 2017

If both are open, you can set up a peer to peer connection over WebRTC.
You still need a server for signaling (establishing and maintaining a connection) but you can reduce the load of connections to your server (and latency) vs just syncing through the server.

This also works to P2P connect devices over local network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants