I
I
Ivan Dronov2017-04-09 12:02:47
JavaScript
Ivan Dronov, 2017-04-09 12:02:47

Is it possible to include a background js script in IE 11 kiosk mode?

Good afternoon, I am developing a web application for touch panels based on IE 11 (other browsers are prohibited) in kiosk mode. The application is only accessible from the local network. All kiosks are conditionally thin clients (win 10) that open a specific page from a local server (the application on the server runs on RoR + js and does not have Internet access).
The problem is that if the user clicks on the button and the server is down at that moment (or a new version of the web application is being rolled), then the user sees the standard IE page "Cannot display this page".
Here the decision comes to mind to hang up when starting IE in the background of js, which will asynchronously request the status of the server's response with an interval of 5-10 seconds. If the server is unavailable, the js script will show the local page on the thin client. If the request from the server is 200, then the script will redirect to the main page of the application. Option 2 to replace the default page "This page cannot be displayed" with your own html with the same js file.
In fact, the question is
1. Is it possible to somehow load local js at the start of IE. I know it is possible in ff and chrome :(?
2. Is it possible to replace the default error page, as in chrome?
Sorry for the many letters. Thank you for reading (the option with seamless react or angular will not work because the application has already been developed).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question