We\'re trying to improve the security of our app and we\'re moving to using an Electron preload script and contextIsolation.
So given code like this: