#How to disable Alt + Tab, Win + Tab, Win + D in electron. ?

20 messages · Page 1 of 1 (latest)

meager lantern
#

Im developing an ed-tech desktop application using Electron. I have to disable the change tab and change window shortcuts to prevent the students to move other windows and searching in the internet. I tried to do it with globalShortcut, but it's not working for me. Kindly help me to solve this issue will be grateful.

hollow galleon
#

You can't do that with electron

merry burrow
#

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 ?

hollow galleon
#

Kiosk mode

#

Set on top

#

Always*

meager lantern
meager lantern
#

@merry burrow @hollow galleon

hollow galleon
#

kiosk in windows

meager lantern
#

yeah, I'm using Windows, tried that. just filling the screen by default.

hollow galleon
#

build in windows feature

#

called kiosk mode as well

meager lantern
meager lantern
#

@merry burrow @hollow galleon

hollow galleon
#

?

#

kiosk flag in electron is fullscreen mode for the app

#

kiosk in windows is a feature