Exiting Kiosk Mode Programmatically

Copper Contributor

I'm developing a web app for my school and I'm using Edge in Kiosk Mode

 

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --kiosk app.myschoolname.com/ --edge-kiosk-type=fullscreen

 

When the user quits the app, I'd like them to be able to hit a button that closes the browser, something like window.close()

 

At the moment I'm having to press Alt+F4 to exit which is a bit clunky

0 Replies