diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 51af59cf..03820aaf 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: 'allowRunningInsecureContent=yes' //,nativeWindowOpen=yes + ,webpreferences: '' //,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 3fc125b8..3688498a 100644 --- a/electron/main.js +++ b/electron/main.js @@ -157,9 +157,7 @@ function createWindow () { ,show: !config.get('start_minimized') ,acceptFirstMouse: true ,webPreferences: { - webSecurity: false - ,nodeIntegration: true - ,plugins: true + plugins: true ,partition: 'persist:rambox' } });