Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing for multiple screens with javascript

Is it possible to tell if the user of a website is using multiple monitors? I need to find the position of a popup but it's quite likely the user will have a multiple monitor setup. Whilst window.screenX etc. will give the position of the browser window it's useless for multiple monitors.

like image 262
slashnick Avatar asked Sep 26 '08 16:09

slashnick


People also ask

How do I test multiple screens?

Select Start , then open Settings . Under System , select Display . Your PC should automatically detect your monitors and show your desktop. If you don't see the monitors, select Multiple displays , then Detect.

Can browser detect multiple screens?

Yes, most browser locking software can detect the attempted use of multiple monitors or screen-sharing on the primary device.

Can a website detect external monitor?

So, in this sense, the answer is no; websites cant detect user activities like screen capture. However, if the website has you download some software and install it, it can most probably recognize external screen capture tools being used on their web pages (if they want to).


1 Answers

I do not believe that it is possible right now; however js is becoming more popular for desktop use in widgets in addition to web development and that would be an excellent feature to request for a future version

like image 94
Ris Adams Avatar answered Sep 28 '22 06:09

Ris Adams