This is not working:
mainWindow = new BrowserWindow({
width: 1100,
height: 800,
"web-preferences": {
"web-security": false
}
});
Loading any external webpage with iframes will throw errors for every iframe on the page:
Sandbox access violation: Blocked a frame at "http://cnn.com" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.
This is not helping as well:
<iframe sandbox="none" src="http://cnn.com"></iframe>