|
|
|
|
|
by zepto
1750 days ago
|
|
> The browser sandbox is the gating. You really think the browser sandbox limits what the website can do with the data on their servers? > This makes me think you don't actually know what electron is. Do you think electron is a web browser? I think it’s a toolkit that let’s you use JavaScript, HTML and CSS to build a standalone app. Web apps aren’t defined by the programming language they use. They are defined by the fact that they run on the web - I.e. in a browser talking to web servers. |
|
The renderer processes in Electron are literally "BrowserWindow" instances... https://www.electronjs.org/docs/api/browser-window
The whole process model for electron is almost identical to the process model for WebExtensions (a single process manages renderer processes, which are instances of browser window objects.).
I don't recommend this, but I've done it and it works - your whole electron app can be a main process that literally caches the resources from your site, and then displays them in a renderer view.