I am asking this question here since I could not find a solution anywhere on the internet.
I am working on an application which is very, very large. One of the key concepts of this large app is that each user can configure which functions they will use and which functions they do not use. This means that the application is different for each user. It would be useless to ship all of these functions in one electron installation, (since it would be enormous, and some users only need a small amount of features)
Because of this it seems attractive to me to build an electron app which is capable of loading a website, or parts of a website and then giving native support for it. Is it possible with Electron to load an external website, and to give that website then acces to the native capabilities of Electron? Can i acces i.e. the electron object from it? How would this be accomplished? I am aware of the security vulnerabilities.
I have looked into loadURL(‘link-to-website’); and there acces electron, but i am not able to exectute ‘require(‘electron’)’.
I hope I explained this problem clearly, and if something is unclear, or if I am completely missing a point somewhere, feel free to ask.
Looking forward for your response,