#How to disable Alt + Tab, Win + Tab, Win + D in electron. ?
20 messages · Page 1 of 1 (latest)
You can't do that with electron
I've not tried to disable those shortcuts but I think there is one solution for this.
Electron is providing "globalShortcut".
You can add listeners with globalShortcut on those shortcuts. Now whenever those keys were pressed the code block will execute which you have written on listeners. So you can now get focus on your window, etc...
I've not tried this thing, this is my assumption. I think this should be work.
@hollow galleon can you please give some suggestion on this ?
I tried to implement using globalShortcut , not working.
Kiosk mode is only filling the screen. I tried that as well, not working.
@merry burrow @hollow galleon
kiosk in windows
yeah, I'm using Windows, tried that. just filling the screen by default.
https://stackoverflow.com/questions/70456451/what-is-electrons-kiosk-mode
this is what I referred to enable the kiosk. is that correct approach or have any different methods to do it.
@merry burrow @hollow galleon