本文介绍了WebExtension中的TCP服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种方法可以启动将使用Firefox WebExtension侦听端口的TCP服务器?我知道存在使用XUL/XPCOM扩展名启动服务器的方法,但是它已过时,从2017年11月起将不再受支持(不推荐使用).感兴趣的问题与Google chrome有关.
Is there a way to start the TCP server that will listen port using Firefox WebExtension? I know that exist way to start server with XUL/XPCOM extension, but it is obsolete and will not be supported (deprecated) from November 2017. The same question interests and about google chrome.
推荐答案否,Chrome扩展程序/Firefox WebExtension无法打开套接字进行监听.
No, a Chrome Extension / Firefox WebExtension cannot open a socket to listen.
但是,您可以有一个单独的本地主机为您做到的组件.它需要单独安装.
However, you could have a separate Native Host component that does it for you. It will need to be installed separately.
更多推荐
WebExtension中的TCP服务器
发布评论