現在のウィンドウがレンダリングされている、スクリーンの情報を取得できます。
| プロパティ | お使いのブラウザでの値 | 意味 |
|---|---|---|
| left | メインスクリーンの左端から、現在のスクリーンの左端までのピクセル単位での距離 | |
| top | メインスクリーンの上端から、現在のスクリーンの上端までのピクセル単位での距離 | |
| availLeft | Returns the first available pixel available from the left side of the screen. | |
| availTop | Specifies the y-coordinate of the first pixel that is not allocated to permanent or semipermanent user interface features. | |
| width | Returns the width of the screen. | |
| height | Returns the height of the screen in pixels. | |
| availWidth | Returns the amount of horizontal space in pixels available to the window. | |
| availHeight | Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows. | |
| colorDepth | Returns the color depth of the screen. | |
| pixelDepth | Gets the bit depth of the screen. | |
| orientation | Returns the current orientation of the screen. | |
| mozEnabled | Boolean. Setting to false will turn off the device's screen. | |
| mozBrightness | Controls the brightness of a device's screen. A double between 0 and 1.0 is expected. |