WebExtension中的TCP服务器

编程入门 行业动态 更新时间:2024-10-17 23:29:23
本文介绍了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服务器

本文发布于:2023-11-15 21:30:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598122.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:服务器   WebExtension   TCP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!