0

I would like to open a popup window on an other screen than the actual (if it is possible).

Question A: Is it possible to detect somehow from JavaScript when an other monitor was plugged in to your current machine?

Question B: Is it possible to detect the available monitors from JavaScript?

  • Maybe by monitoring the `window.screen` property? This sounds like a fun challenge, working on a JSFiddle right now :) – Jason Sperske Feb 28 '14 at 23:58
  • I want to be careful to say outright "no" to your questions just yet (still working), but so far this is the best I have been able to do: http://jsfiddle.net/E9nuF/ (just to detect when the browser moves between two screens and only if they have different resolutions. It appears that JavaScript only sees the screen that the current window appears in. – Jason Sperske Mar 01 '14 at 00:12

0 Answers0