Browse Source

Merge pull request #100 from nvesely/sandbox

Enable sandbox for WebViews
pull/3202/head
TheGoddessInari 6 years ago committed by GitHub
parent
commit
c34a98c348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/ux/WebView.js

2
app/ux/WebView.js

@ -167,7 +167,7 @@ Ext.define('Rambox.ux.WebView',{
,partition: 'persist:' + me.record.get('type') + '_' + me.id.replace('tab_', '')
,allowtransparency: 'on'
,autosize: 'on'
,webpreferences: '' //,nativeWindowOpen=true
,webpreferences: 'sandbox: true' //,nativeWindowOpen=true
//,disablewebsecurity: 'on' // Disabled because some services (Like Google Drive) dont work with this enabled
,userAgent: me.getUserAgent()
,preload: './resources/js/rambox-service-api.js'

Loading…
Cancel
Save