Internet Cafe launcher software with electron [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am trying to figure out is it possible to make Internet Cafe client launcher with Electron. The app would have to prevent the user from ALT+TAB or CTRL+ALT+DEL it would also have to: run on startup, cover full screen, shut other processes down, run executable binaries and so on. I never before made application of this kind and do not know what kind of things am i looking for. First thing that i remember when using some other Internet Cafe clients is that they needed administrative rights, so i found electron-sudo, but that is about it of what i know.

NW.js has Kiosk Mode.
https://github.com/nwjs/nw.js/wiki/the-kiosk-mode
It's similar to Electron but it runs a webpage first, not a script (if that makes sense). Basically, you get a browser that lets you run node.js.
And Kiosk mode.
Ah, so does Electron!
kiosk Boolean - The kiosk mode
I did not know that.

Related

Running Node on windows [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I develop a Node server app. as I develop, I test it with 'run npm' command, which launches the server, then I test it from Chrome and\or Postman.
Now I wish to roll this app (it's a REST service) out to production server. Ours is a Windows server, so how is it usually done? I mean Node is its own server, so is it normal to copy the files over to a directory on the server and set an 'rpm run' to execute there on server start, or do people then typically use IIS as the server? Is something like IISNode a popular way to do things these days...?
If you want my opinion, I myself always run my node projects in somewhere out of windows platform, like containerized or Linux-based production environments.
But you can use nssm.exe to make a windows service with failure recovery and auto startup features from your node project as easy as you want. I can clarify more if you want.
Just visit this article

Performance analysis of Web Page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I built a Hbbtv Application.
I want to analyze the performance of the app when running on TV.
Since there is no developer tools usage on tv, how do I get the rendering, page loading, blank rate time?
Is it possible to display these using javascript?
You might add google analytics to your site. Implement device detecting and then if it is TV send performance analysis results (previously implemented performance functions). Functions something like these examples: http://qnimate.com/measuring-web-page-performance-using-modern-javascript-apis/ http://blog.trasatti.it/2012/12/measuring-the-speed-of-resource-loading-with-javascript-and-html5.html , https://trackjs.com/blog/monitoring-javascript-memory/ , https://medium.com/#felipedutratine/frontend-performance-monitoring-in-js-29832051d2ec
You should detect TV user agent and then simulate it in Google Chrome Dev Tools (w3c validator also allow do that) and then perform audit test in Google Chrome Dev Tools "Audit" tab.
Check https://developers.whatismybrowser.com/useragents/explore/operating_platform/smart-tv/

show live TV from a connectted USB DVB-T stick (on windows) on a local web page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to buy a DVB-T stick which gets connect to PC and laptop by USB and has a software to play live TV on windows. What I want to do with that is to show the live TV stream from that stick on a web browser instead of the original windows software. The reason behind that is I need to use it in a digital signage program which only supports web platform for these kind of medias.
As far as I know, if I could make a html page which contains the player to show the live stream from the USB stick, the job is done, but my question is how to write that html page exactly. Any suggestion?
Thanks for paying attention to my question and helping me in advance.
This is not possible with HTML. Also PHP and JavaScript will not fit this problem. Because that are web based languages. You can not access plugin devices in any way.
The only way you can do is to write an application in C#/C++/Java which will read the usb and open it in a webview to show.

Electron app hangs often [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
we have built mac and windows desktop version of our app using electron framework, but it hangs and become unresponsive really often. Using chrome natively it does not happen. Is there any flags that needs to be added/removed when using electron framework, and what could be the difference? The biggest problem that I don't have knowledge how to debug these kind of problems, because logs does not return anything before hanging, and profiling becomes unresponsive too. Any suggestions?
Thanks!
You can open the Chrome Developer Tools with
require('remote').getCurrentWindow().toggleDevTools()
From there you can profile it like a normal webapp, you can take a look there what takes much time. There are many good tutorials how to use these tools.

JavaScript: Catch users who did screen [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I need catch users who make screen on my web page. I can do it easy, if they use key "PrntScr", but what should i do if they make screen on Mac, Android or iPad? And can i catch users who make screen with other software?
p.s. sorry for my bad english
It would be next to impossible for you to detect such behavior. If your website was only available in the form of mobile apps you could detect when people take screenshots (as in the case of Snapchat), but it would be very easy for someone to bypass this on PCs.
In Linux, someone could use a tool such as gnome-screenshot; on Windows someone could use the Snipping Tool, and on any computer someone could use an extension to capture the screen. If all else fails, someone could use a virtual machine to capture the screenshot without you knowing.

Categories

Resources