Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome 与Chrome'类似的技术;Firefox中的本机客户端消息传递?_Google Chrome_Firefox_Jsctypes_Chrome Native Messaging - Fatal编程技术网

Google chrome 与Chrome'类似的技术;Firefox中的本机客户端消息传递?

Google chrome 与Chrome'类似的技术;Firefox中的本机客户端消息传递?,google-chrome,firefox,jsctypes,chrome-native-messaging,Google Chrome,Firefox,Jsctypes,Chrome Native Messaging,我们希望替换基于浏览器的web应用程序和客户端守护进程之间的自定义NPAPI接口 Firefox中是否有类似于Chrome本机客户端消息传递的技术?js ctypes[1]可能是Mozilla最接近的替代方案 我有一个C++模块,我编译为二进制可执行的本地消息,或者作为JS cType的库。两者之间的区别主要在于,本机消息传递调用二进制可执行文件并执行stdin/stdout数据交换,js ctypes打开一个静态/共享库(通过dlopen)并调用库的公开方法,这些方法可以返回兼容的数据类型[

我们希望替换基于浏览器的web应用程序和客户端守护进程之间的自定义NPAPI接口


Firefox中是否有类似于Chrome本机客户端消息传递的技术?

js ctypes[1]可能是Mozilla最接近的替代方案

我有一个C++模块,我编译为二进制可执行的本地消息,或者作为JS cType的库。两者之间的区别主要在于,本机消息传递调用二进制可执行文件并执行stdin/stdout数据交换,js ctypes打开一个静态/共享库(通过dlopen)并调用库的公开方法,这些方法可以返回兼容的数据类型[2],还可以选择调用传递的JavaScript回调方法

[1]

[2]

随着对的新支持,似乎很快就会出现一种与Chrome的原生客户端消息传递非常相似的技术


目前,它仍在“未来可能支持的API列表[mozilla]中”

我还需要从Firefox执行本机消息传递,您能提供更多关于解决方案结构的信息吗?您的意思是使用Chrome的二进制可执行文件和Firefox的库吗?是否使用webpg的此解决方案?现在支持: