JavaScript Window Screen
Window Screen
The window.screen object can be written without the window prefix.
Some properties:
screen.availWidth - available screen width
screen.availHeight - available screen height
The screen.availHeight property returns the height of the visitor's screen, in pixels, minus interface features such as the window taskbar.php中文网(php.cn)
php中文网(php.cn)