How to get browser window size? I know Screen object identifies screen width and height, but it doesn't serve the purpose of what I am doing. I need to know the browser window size, because when it minimized some of the elements of the page get shifted aside. Thank you.