Open Afnisse opened 2 years ago
What is the use case of this?
I do not understand your need for a kiosk mode, since it is not possible to switch away from the browser.
Do you want start the browser in fullscreen, so no tabs or settings of the browser are visible?
It is possible to mount different settings or policies into the docker container. E.g. with the chrome/ium browser you can change the policies.json
so that all websites are blacklisted and only a chosen few are whilelisted ( https://chromium.googlesource.com/chromium/chromium/+/master/chrome/app/policy/policy_templates.json#2194 )
How to mount the file is described in the manual: https://neko.m1k1o.net/#/getting-started/?id=want-to-customize-and-install-own-add-ons-set-custom-bookmarks
If you really need kiosk mode, you could edit the startup parameter of the browser and build your own docker image.
You don't really need to rebuild image for that. You can just create own supervisord config and mount it to the container.
You just copy this file locally, add --kiosk
to arguments and mount it as volume to /etc/neko/supervisord/google-chrome.conf
. Similarity for different browsers.
When you just write URL to args, browser opens that URL.
Hello,
First, thank you so much for all the hard work you've put into this,
My request or question is is it possible to add a chrome browser or any other browser with the support for kiosk mode and control the opened web application using ENV so the user can only have access to that app and as an app owner I can inject the window on my main application using Iframe
Thank you very much in advance