From b62606a61b9c44e07c26d95a4b62fdb8d6242d69 Mon Sep 17 00:00:00 2001 From: Astra Date: Thu, 3 May 2018 14:09:49 -0400 Subject: [PATCH] nvfm --- monitor.htm | 8 -------- 1 file changed, 8 deletions(-) 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');