7379e5eb36
* fix: BrowserWindow backgroundColor * refactor: propagate transparency via backgroundColor
171 lines
No EOL
3.4 KiB
Text
171 lines
No EOL
3.4 KiB
Text
[
|
|
[
|
|
"top=5,left=10,resizable=no",
|
|
{
|
|
"sender": "[WebContents]"
|
|
},
|
|
"about:blank",
|
|
"frame-name",
|
|
"new-window",
|
|
{
|
|
"show": true,
|
|
"width": 800,
|
|
"height": 600,
|
|
"top": 5,
|
|
"left": 10,
|
|
"resizable": false,
|
|
"x": 10,
|
|
"y": 5,
|
|
"webPreferences": {
|
|
"contextIsolation": true,
|
|
"nativeWindowOpen": true,
|
|
"nodeIntegration": false,
|
|
"sandbox": true,
|
|
"webviewTag": false,
|
|
"nodeIntegrationInSubFrames": false,
|
|
"openerId": null
|
|
},
|
|
"webContents": "[WebContents]"
|
|
},
|
|
[],
|
|
{
|
|
"url": "",
|
|
"policy": "strict-origin-when-cross-origin"
|
|
},
|
|
null
|
|
],
|
|
[
|
|
"zoomFactor=2,resizable=0,x=0,y=10",
|
|
{
|
|
"sender": "[WebContents]"
|
|
},
|
|
"about:blank",
|
|
"frame-name",
|
|
"new-window",
|
|
{
|
|
"show": true,
|
|
"width": 800,
|
|
"height": 600,
|
|
"resizable": false,
|
|
"x": 0,
|
|
"y": 10,
|
|
"webPreferences": {
|
|
"zoomFactor": "2",
|
|
"contextIsolation": true,
|
|
"nativeWindowOpen": true,
|
|
"nodeIntegration": false,
|
|
"sandbox": true,
|
|
"webviewTag": false,
|
|
"nodeIntegrationInSubFrames": false,
|
|
"openerId": null
|
|
},
|
|
"webContents": "[WebContents]"
|
|
},
|
|
[],
|
|
{
|
|
"url": "",
|
|
"policy": "strict-origin-when-cross-origin"
|
|
},
|
|
null
|
|
],
|
|
[
|
|
"backgroundColor=gray,webPreferences=0,x=100,y=100",
|
|
{
|
|
"sender": "[WebContents]"
|
|
},
|
|
"about:blank",
|
|
"frame-name",
|
|
"new-window",
|
|
{
|
|
"show": true,
|
|
"width": 800,
|
|
"height": 600,
|
|
"backgroundColor": "gray",
|
|
"webPreferences": {
|
|
"contextIsolation": true,
|
|
"nativeWindowOpen": true,
|
|
"nodeIntegration": false,
|
|
"sandbox": true,
|
|
"webviewTag": false,
|
|
"nodeIntegrationInSubFrames": false,
|
|
"openerId": null
|
|
},
|
|
"x": 100,
|
|
"y": 100,
|
|
"webContents": "[WebContents]"
|
|
},
|
|
[],
|
|
{
|
|
"url": "",
|
|
"policy": "strict-origin-when-cross-origin"
|
|
},
|
|
null
|
|
],
|
|
[
|
|
"x=50,y=20,title=sup",
|
|
{
|
|
"sender": "[WebContents]"
|
|
},
|
|
"about:blank",
|
|
"frame-name",
|
|
"new-window",
|
|
{
|
|
"show": true,
|
|
"width": 800,
|
|
"height": 600,
|
|
"x": 50,
|
|
"y": 20,
|
|
"title": "sup",
|
|
"webPreferences": {
|
|
"contextIsolation": true,
|
|
"nativeWindowOpen": true,
|
|
"nodeIntegration": false,
|
|
"sandbox": true,
|
|
"webviewTag": false,
|
|
"nodeIntegrationInSubFrames": false,
|
|
"openerId": null
|
|
},
|
|
"webContents": "[WebContents]"
|
|
},
|
|
[],
|
|
{
|
|
"url": "",
|
|
"policy": "strict-origin-when-cross-origin"
|
|
},
|
|
null
|
|
],
|
|
[
|
|
"show=false,top=1,left=1",
|
|
{
|
|
"sender": "[WebContents]"
|
|
},
|
|
"about:blank",
|
|
"frame-name",
|
|
"new-window",
|
|
{
|
|
"show": false,
|
|
"width": 800,
|
|
"height": 600,
|
|
"top": 1,
|
|
"left": 1,
|
|
"x": 1,
|
|
"y": 1,
|
|
"webPreferences": {
|
|
"contextIsolation": true,
|
|
"nativeWindowOpen": true,
|
|
"nodeIntegration": false,
|
|
"sandbox": true,
|
|
"webviewTag": false,
|
|
"nodeIntegrationInSubFrames": false,
|
|
"openerId": null
|
|
},
|
|
"webContents": "[WebContents]"
|
|
},
|
|
[],
|
|
{
|
|
"url": "",
|
|
"policy": "strict-origin-when-cross-origin"
|
|
},
|
|
null
|
|
]
|
|
] |