diff --git a/electron/electron.js b/electron/electron.js index 70226391f..d2a303f51 100644 --- a/electron/electron.js +++ b/electron/electron.js @@ -358,9 +358,7 @@ function createWebTabWindow(args) { useLoadingView: true, useErrorView: true, webPreferences: { - type: 'browserView', preload: path.join(__dirname, 'electron-preload.js'), - nodeIntegrationInSubFrames: true, } }) if (nativeTheme.shouldUseDarkColors) {