mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Disable nativeWindowOpen on webviews (#5582)
This commit is contained in:
parent
d1a5487384
commit
72c82c443e
@ -159,6 +159,7 @@ const createElectronWindowFor = getInjectable({
|
||||
|
||||
// Always disable Node.js integration for all webviews
|
||||
webPreferences.nodeIntegration = false;
|
||||
webPreferences.nativeWindowOpen = false;
|
||||
})
|
||||
|
||||
.setWindowOpenHandler((details) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user