Screen Object

Screen object

The Screen object contains information about the screen displayed by the client.

NoteNote: There is no published standard that applies to the screen object, but it is supported by all browsers.

Screen object properties

availHeightReturns the height of the screen (excluding the Windows taskbar)
availWidthReturns the width of the screen (excluding the Windows taskbar)
colorDepthReturns the bit depth of the palette on the target device or buffer
heightReturns the total height of the screen
pixelDepthReturns the color resolution of the screen (bits per pixel)
widthReturns the total width of the screen