Appendix D – Chromium Embedded Framework (CEF), WebView and Electron
You can use CEF or Electron to make a standalone client, so SparkView client can access local resource directly (clipboard), and override some shortcuts keys reserved by the browser (Ctrl+T/W etc).
- Let Spark View know it can access the clipboard directly by setting
directClipAccess: true
in appcfg.js. - For CEF, you need to enable cef_state_t javascript_access_clipboard.
- For WebView, please check: https://stackoverflow.com/questions/4200259/tapping-formfield-in-webview-does-not-show-soft-keyboard
- For Electron, you can also use
mainWindow.webContents.executeJavaScript('hi5.appcfg.directClipAccess=true')
to inject the code.