lundi 24 juillet 2017

How to open new window in other screen with specific location in Javascript?

The problem is that I want to use Javascript to manage a group of windows and most of them locate in different screens (up to 9). I would like to save/restore position of all those windows so that the user do not have to re-locate the 10~20 windows every time they use the app.

I tried APIs such as window.moveBy, window.open and window.moveTo by supplying clientX larger than screen width but still not work. The windows are "clipped" in the bound of the current screen. My machine is running Google Chrome v59.0 and CentOS 7.

Is there any method, public API or even private API (as a last resort) to do so? I have checked the W3C standard and found nothing about that. Although some online resources claim that they can control window in new screen but they do not work on Chrome.




Aucun commentaire:

Enregistrer un commentaire