Introduction
First of all, I know very well that webapps should not bother with the size or position of the window. Was through a lot of similar SO questions and forum posts.
But this is a special case when the browser is just a platform to run the application on several specific machines in a controlled environment.
Task
An application should manage windows through multiple displays. (up to 5)
What I tried so far
- I was looking for methods to obtain information about the displayed information of the host system, but the
window.screen object reports only the display properties on which the window is currently located (or is considered to be turned on if it is halfway on one) - I tried
window.moveTo and window.open with the flags "left=123,top=123" , but they are always limited by the current display - I tried
window.resize and window.open with the flags "height=123,width=123" , but just like with moveTo , they are limited by the current display.
Question
What can I do to make my application (without manually positioning the window) use all the free space in a multi-screen environment?
Scenario
Think about it, as I have two projectors aligned correctly and would like to do this:
- each project designs different things (each projector designs its own browser window)
- project an application onto both projectors (possibly in full screen mode)
There may be / should be a window with the layout logic of the main window
Note
I can use any flags , app or kiosk mode, since again: we are deploying the application in the target environment.
Browser options: Chrome (preferred), Chromium and Firefox on the Windows platform (because of the special video card that we will use for 5 displays).
Backup solution
Manually stretch the window through the available displays and run the applications in an iframe inside this window wizard.
Disadvantage . One process starts everything, so the application must break inside the frame and it will break everything.
Afterword
It would also be useful to resolve this issue: Full screen mode Windows / Chrome / ATI / Browser on multiple monitors
javascript browser google-chrome multiple-monitors
Matyas
source share