Search code examples
htmlgoogle-chromebrowseroperakiosk-mode

How to use kiosk mode in opera Version:32.0.1948.69?


i want to use opera for a web based application that needs to run in kiosk mode and i tried chrome but some features like npapi plugin is disabled in chome that's why i need to run my web-based app on opera but i am finding difficult to run opera in kiosk mode,i tried /kioskmode, -kioskmode, /k in shortcut of opera("C:\Program Files (x86)\Opera\launcher.exe" /KioskMode) but it's not working for me.Am i doing something wrong? According to their link http://help.opera.com/Windows/12.10/en/kiosk.html This should work right?


Solution

  • You can use nwjs. Near nwjs.exe create package.json with next options:

    {
      "main": "<web app url>",
      "name": "kiosk example",
      "description": "kiosk example",
      "version": "0.0.1",
      "window": {
        "toolbar": false,
        "frame": false,
        "resizable": false,
        "show": true,
        "kiosk": true,
        "title": "kiosk example"
      },
      "webkit": {
        "plugin": true
      },
      "chromium-args": "--force-gpu-rasterization"
    }
    

    Also, I recommend you to create kiosk user and set nwjs.exe as shell for this user. Windows 7 and early:

    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "Shell"="C:\\full\\path\\to\\nwjs.exe>"
    

    Windows 8 and later:

    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "Shell"="C:\\full\\path\\to\\nwjs.exe>"