1) custom kiosk frame or not frame, resize or not resize, width, height tuning?
Code: Select all
{
"name": "test",
"main": "https://site.com",
"window": {
"title": "",
"toolbar": false,
"frame": false,
"resizable": false,
"kiosk": true,
//"always-on-top": true,
"show": true,
"width": 1280,
"height": 720
}
}
Code: Select all
<script>
var gui = require('nw.gui');
var sys = require('sys')
var exec = require('child_process').exec;
var child;
function runme(input) {
child = exec(input, function (error, stdout, stderr) {
sys.print('stdout: ' + stdout);
sys.print('stderr: ' + stderr);
if (error !== null) {
console.log('exec error: ' + error);
}
});
}
</script>
<input type="button" value="Auto login setup" onclick="runme('netplwiz');" />
<input type="button" value="Resolution" onclick="runme('desk.cpl');" />
<input type="button" value="Resolution" onclick="runme('taskschd.msc');" />
<input type="button" value="Resolution" onclick="runme('mmsys.cpl');" />
<input type="button" value="Resolution" onclick="runme('ncpa.cpl');" />
<input type="button" value="Resolution" onclick="runme('control /name Microsoft.Taskbar');" />
because 47, 48, 49, 50 has lot of incompatible issues such as after version 46 HTTP can't open HTTPS or HTTPS can't open HTTP (webRTC iframe requires this option).
4) is it possible to tell SlimJet, please run Chromium 49 but allow HTTP accessing HTTPS or HTTPS accessing HTTP?
5) How to play MP4 video clips with SlimJet? (using Google chrome it only works but never worked with Chromium)