是否可以在两个不同的浏览器之间传递数据? [英] is it possible pass data between two different browsers?
问题描述
我必须在两个不同的浏览器窗口之间传递数据( 例如: Chrome,Firefox )。
I have to pass data between two different browser windows ( Eg: Chrome , Firefox ).
但是两个浏览器窗口没有任何父窗口。
But the two browser windows does not have any parent window.
假设:假设我知道一个浏览器窗口的名称,是否可以从其他浏览器获取数据?
Assumption: Suppose if I know one browser window name , is it possible to get the data from other browser?
它是 R& D 。 / p>
Its is an R&D.
推荐答案
使用(node.js)的服务器选项
如果您愿意使用 node.js
,我建议您看看 Socket.io 。
If you are open to use node.js
i suggest you to take a look on Socket.io.
他们有一个很好的例子,说明如何使用聊天示例在2个或更多浏览器上进行通信。
They have a pretty good example of how to communicate on 2 or more browser using the chat example.
看看这个演示
仅客户端选项(使用webRTC)
如果您不想
快速查看此帖子
更新
似乎是我们这里唯一的选择,它的 WebRTC
Seems like the only option we have here its WebRTC
看看这2个SO。
HTML5 Websockets可以不使用服务器直接连接2个客户端(浏览器)吗? (P2P)
这篇关于是否可以在两个不同的浏览器之间传递数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!