Is it possible to embed a HTTP server in a Google Chrome extension?

后端 未结 3 702
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 16:13

Do you think it would be possible to embed a HTTP server inside a Google Chrome extension?

I\'ve seen other Google Chrome extensions execute native code and apparren

3条回答
  •  遥遥无期
    2020-12-05 16:40

    Here is another web server implemented with chrome.socket: https://github.com/kzahel/web-server-chrome. The server example linked to in chrome-app-samples is actually really buggy and will lock up if you e.g. hold down Ctrl-R on a page served by it.

提交回复
热议问题