KioskBrowser-具有大型西里尔键盘的免费信息亭浏览器

信息亭是一台具有全屏浏览器的计算机。



图片



自动取款机,支付终端,信息亭,广告面板-所有这些都是带有全屏浏览器的计算机。当您需要执行类似操作时,就会出现问题:要在信息亭上放置哪种浏览器。



那些尝试在信息亭模式下使用通用浏览器的人可能会遇到问题:



  • 添加没有Ctrl和Alt的虚拟键盘;
  • 虚拟键盘上的键必须很大;
  • 布局应该没有问题;
  • PDF , ;
  • ;
  • ;
  • ;


(Chrome, Firefox), , .



, , Portues Kiosk ( ), , KioskBrowser.



KioskBrowser , , PDF, .








NW.js, Chromium. HTML5.



input textarea webview, webview .



webview, NW.js webview.



NW.js , Electron.








KioskBrowser, .



.KioskBrowser/config.js, (%userprofile%/.KioskBrowser/config.js Windows ~/.KioskBrowser/config.js Linux). config, JS- .





— . Windows 10 (.. Ctrl, Alt, Del). JS, , .



KioskBrowser , .





"" "", . , ( ).



config.js : title, chromeColor, textColor, gui.isHeaderHidden, gui.isBackHidden, gui.isHomeHidden.



- , , gui.scrollbarWidth.





, ( ).



KioskBrowser ( ), PDF-, Chrome, isPrinterBlocked, PDF , .



Adobe Flash



Adobe Flash , , KioskBrowser Flash- Chrome. Flash Player, Windows . , Flash-, Adobe Flash . Linux Adobe Flash .





, - URL. KioskBrowser - URL .



, , RFID- ( ).



- , .



config.js:



var config = {
  homeUrl: "https://example.com",
  httpServer: {
    isEnabled: true,
    secret: "***********",
    hostname: "127.0.0.1",
    port: 8080
  }
}
module.exports = config;


() URL . :



http://127.0.0.1:8080/setUrl?secret=*****&url=https%3A%2F%2Fexample.com%2Fpage.html



secret — . - 127.0.0.1, IP- httpServer.hostname.





- . RFID-.



RFID ? RFID - -, RFID - . https://example.com?rfid=XXXXXX, XXXXXX RFID - .



RFID KioskBrowser - :



http://127.0.0.1:8080/setUrl?secret=*****&url=https%3A%2F%2Fexample.com%2Frfid%3DXXXXXX





( ), , , .



: , 1 . — , antiBornPixels.padding. .



— " ", antiBornPixels.flickerPixelInterval. " " , , , . , " " , (antiBornPixels.flickerPixelInterval = 0).





H.264 . Windows 10 Microsoft Store ( ). VP9, AV1 .



Windows 10 Pro ( Explorer), Microsoft Store. exe-, Windows IoT. , KioskBrowser Microsoft Store .. Microsoft , ( Windows ms-webview Edge).



, Windows IoT, .



: , .








KioskBrowser Windows 7+ Linux x86/x86_64. : 2-4, 1 , .



, , . , KioskBrowser Calculate Linux Linux . Windows 10 Windows 10 IoT .. Explorer .



Windows



x86 .



%userprofile%/.KioskBrowser



%userprofile%/.KioskBrowser/config.js UTF-8.



, homeUrl :



var config = {
  homeUrl: "https://example.com"
}
module.exports = config;


.



, , .



Linux



( /opt/KioskBrowser):



$ mkdir /opt/KioskBrowser


:



$ cd /opt/KioskBrowser


.



Linux x86:



$ wget https://kioskbrowser.elibsystem.ru/files/dist/KioskBrowser-linux-x86.zip


Linux x86_64:



$ wget https://kioskbrowser.elibsystem.ru/files/dist/KioskBrowser-linux-x64.zip


:



$ unzip KioskBrowser-linux-*.zip


:



$ chmod 0555 KioskBrowser


~/.KioskBrowser/config.js.



$ mkdir ~/.KioskBrowser
$ vi ~/.KioskBrowser/config.js


, homeUrl :



var config = {
  homeUrl: "https://example.com"
}
module.exports = config;


.



.



:



$ /opt/KioskBrowser/KioskBrowser


Ctrl+Alt+F1 :



$ pkill KioskBrowser


/opt/KioskBrowser/KioskBrowser .






KioskBrowser



config.js.



Windows %userprofile%/.KioskBrowser/config.js, Linux ~/.KioskBrowser/config.js.



config.js JSON , . config.js.



:



var config = {
     title: "Informational kiosk",   /* (string)      */
     homeUrl: "https://demo.elibsystem.ru/app/catalog",
     homeUrlInactivityTimeoutSec: 180,               /* (int)       ,   0      . */
     chromeColor: "#323232",         /* (string)      */
     textColor: "#C1C1C1",           /* (string)      */
     useWebView: false,              /*  webview (  Flash Player,       */
     useRecursiveIframeBinding: true, /* (boolean)       iframe */
     isUseVirtualKeyboard: true,    /* (boolean)    . */
     isPrinterBlocked: true,        /* (boolean)    PDF */
     httpServer: {
             isEnabled: false,               /* (boolean)   -   RPC */
             secret: null,                   /* (string)      RPC    "key".    null   HTTP-API  . */
             hostname: "localhost",  /* (string)    IP-    - */
             port: 80                                /*  (int)  -. */
     },
     antiBornPixels: {                       /*   . */
             isEnabled: true,                /* (boolean)    . */
             padding: 10,                    /* (int)             ,    .    0. */
             flickerPixelInterval: 0 /* (int)      .     16 . 0 -  .   ,     30 ,    16.       -      ,      . */
     },
     gui: {
             scrollbarWidth: 17,     /* (int)   .       17 . */
             isHeaderHidden: false,  /* (boolean)   true     . */
             isBackHidden: false,    /* (boolean)   ""    */
             isHomeHidden: false     /* (boolean)   ""    */
     }
};


config.js :



module.exports = config;


:



var config = {
   homeUrl: "https://example.com/page.html"
}
module.exports = config;




, .



它可以独立安装在您的PC或组织的信息亭中,也可以预安装在设备上。您可以将其用于商业和非商业目的,但是浏览器程序本身不能发布在其他站点上(该软件只能从官方站点分发)。许可证的最新版本可以在官方网站上找到。




All Articles