IMAGINARY / kiosk-browser

Hardened Web Browser with Kiosk-mode
Apache License 2.0
21 stars 2 forks source link

Options/switches passed to Chrome at Supernova #32

Open malex984 opened 5 years ago

malex984 commented 5 years ago

Currently at Supernova we pass the following options/switched to Chrome via our CLI from outside (command line in docker-compose.*):

--touch-events
--enable-touch-events
--touch-events-enabled
--touch-events=enabled
--allow-running-insecure-content
  1. i am not quite sure whether they all are required
  2. some of them may also be passed by default (via main.js instead)...

Note that currently main.js passes the following options/switched to Chrome:

--touch-events=disabled
--touch-events-disabled
--disable-touch-events
malex984 commented 5 years ago

UPDATE: currently we use the following WebPreferences:


       images: true,
       webaudio: true,
       plugins: true,
       webgl: true,
       java: true,
       webSecurity: false, 'web-security': false,
       experimentalFeatures: true, 'experimental-features': true, 
       overlayFullscreenVideo: true, 'overlay-fullscreen-video': true, 
       experimentalCanvasFeatures: true, 'experimental-canvas-features': true, 
       allowRunningInsecureContent: true, 'allow-running-insecure-content': true,