You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NWJS Version : 0.41.2 - 0.42.3 (x64)
Operating System : Windows 10 64bits
Expected behavior
policy.forceCurrent() should prevent ctrl+click on link from opening a new window.
Actual behavior
It still opens a new window. .forceDownload() is also ignored, as well as setNewWindowManifest({fullscreen: true}) (only tested fullscreen=true, which did not work, don't know if other options would work).
.ignore() does work, though.
Any updates on this? Since policy.setNewWindowManifest doesn't work (before window is created), hiding the window later via chrome.windows.onCreated as a temporary fix (after window is created) resulting in annoying flickering effect.
NWJS Version : 0.41.2 - 0.42.3 (x64)
Operating System : Windows 10 64bits
Expected behavior
policy.forceCurrent() should prevent ctrl+click on link from opening a new window.
Actual behavior
It still opens a new window. .forceDownload() is also ignored, as well as setNewWindowManifest({fullscreen: true}) (only tested fullscreen=true, which did not work, don't know if other options would work).
.ignore() does work, though.
How to reproduce
main:
test.js:
ctrl+click on the link ("Ctrl+click here"), see "fired" in the log, but it opens in a new window.
The text was updated successfully, but these errors were encountered: