diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 241947c7..7fc1eee6 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -174,7 +174,7 @@ Ext.define('Rambox.ux.WebView',{ ,plugins: 'true' ,allowtransparency: 'on' ,autosize: 'on' - ,webpreferences: { contextIsolation:true } //,nativeWindowOpen=yes + ,webpreferences: { contextIsolation: true } //,nativeWindowOpen=yes //,disablewebsecurity: 'on' // Disabled because some services (Like Google Drive) dont work with this enabled ,useragent: Ext.getStore('ServicesList').getById(me.record.get('type')).get('userAgent') ,preload: './resources/js/rambox-service-api.js' diff --git a/electron/main.js b/electron/main.js index fe4c3317..cb0f313b 100644 --- a/electron/main.js +++ b/electron/main.js @@ -156,8 +156,7 @@ function createWindow () { ,show: !config.get('start_minimized') ,acceptFirstMouse: true ,webPreferences: { - nodeIntegration: true - ,plugins: true + plugins: true ,partition: 'persist:rambox' } });