Proper way to listen as TCP server in Chrome extension

回眸只為那壹抹淺笑 提交于 2019-12-04 04:27:19

Yes it's a good idea.

1°) You should create a Chrome App Web Server (based on https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/webserver for example, or any other HTTP s)

2°) Then you should request it from any javascripted web page via XmlHttpRequest.

+++: No need for Chrome Extension. Should work with any modern browser on Windows / Mac / Linux with Chrome 33+ installed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!