Search notes:

screen.width / screen.height

screen.width and screen.height report the size of the screen (monitor).
In a multi-monitor environment, the values seem to be that of the monitor on which the browser is currently located.

See also

Programming for a web browser: Coordinates of the window, screen and Element object (etc)

Index