Search notes:

screen.availWidth - screen.availHeight - screen.availLeft - screen.availTop

The values of screen.availWidth, screen.availHeight, screen.availLeft and screen.availTop report the boundaries within which a browser window can be placed.
screen.availWidth and especially screen.availHeight might be smaller than screen.width and screen.height because, for example, of the Windows taskbar.

See also

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

Index