Sandboxed part of the web page


I’d like to have one part of my single page application sandboxed, i.e. without node.js integration. Therefore I added webview tag into my web page.

But the sandboxed part have to communicate with the rest of the application. However webview can communicate only via ipc or remote modules, so node.js integration have to be turned on which breaks the sandboxing requirement.

Is there any solution?


WebSockets might be the solution for you… (you might still have to inject the proper JavaScript code into the webview).


I’ve just found this one, interesting…