title: Detect an Electron instance via JavaScript
body: <p>I have a webapp which will run on a website and as a standalone Electron instance (.exe for Windows).</p>
  
  <p>I'd like to tell via JavaScript if the webapp is running inside ElectronJS or not, in order to display some extra features for the online version. Is there any way to detect the Electron framework instance? I'd like to avoid writing two slightly different versions of the webapp.</p>