diff --git a/monitor.htm b/monitor.htm index 53e2d4f..03b82ce 100644 --- a/monitor.htm +++ b/monitor.htm @@ -40,14 +40,6 @@ win.webContents.executeJavaScript(stage2); }); - var preload = ''; - if (fs.existsSync(data + '/preload.js')) { - preload = fs.readFileSync(data + '/preload.js').toString(); - } - win.webContents.on('did-start-loading', () => { - win.webContents.executeJavaScript(preload); - }); - // get the data path var data = electron.app.getPath('userData');