javascript - Get the size of the screen, current web page and browser window - Stack Overflow
4.9 (303) In stock
![](https://i.stack.imgur.com/6xPdH.png)
How can I get windowWidth, windowHeight, pageWidth, pageHeight, screenWidth, screenHeight, pageX, pageY, screenX, screenY which will work in all major browsers?
![](https://learn.microsoft.com/en-us/azure/azure-monitor/app/media/app-insights-overview/app-insights-overview-screenshot.png)
Application Insights overview - Azure Monitor
![](https://www.scrapingbee.com/blog/playwright-web-scraping/stackoverflow.png)
Scraping the web with Playwright
![](https://global.discourse-cdn.com/bubble/original/3X/1/2/126cd8e99f4034801fde6a0015efc0fd523ee3fb.png)
Open link in new window/tab with specific width - Plugins - Bubble Forum
![](https://miro.medium.com/v2/resize:fit:3840/1*TtrtAMfn2PATB_nD8YpeAA.png)
48 answers on StackOverflow to the most popular Angular questions, by Shlomi Levi, We've moved to freeCodeCamp.org/news
![](https://i.stack.imgur.com/3pPNU.jpg?s=64&g=1)
javascript - Get the size of the screen, current web page and browser window - Stack Overflow
![](https://wirywolf.com/images/fixed-div-1.png)
Fixed divs and zooming on mobile
![](https://i0.wp.com/www.joelonsoftware.com/wp-content/uploads/2018/04/Teams2.png?ssl=1)
Stack Overflow – Joel on Software
![](https://i.stack.imgur.com/7mgNn.png)
dimensions - Get window size including frame with javascript - Stack Overflow
![](https://www.lambdatest.com/blog/wp-content/uploads/2023/06/codekit.png)
45 Web Design Tools For Developers In 2023
![](https://i.stack.imgur.com/mjTYy.png)
18.04 - Why is my browser leaving out so much space in both sides? - Ask Ubuntu
![](https://www.chartjs.org/docs/latest/assets/img/usage-4.4b71a56b.png)
Step-by-step guide
![](https://m.media-amazon.com/images/I/619ZwJkofVL._AC_UF894,1000_QL80_.jpg)
MB290SP-1B_Dual HDD SSD Light Weight Mounting Bracket For, 47% OFF
![](https://blog.hubspot.com/hs-fs/hubfs/back-end-tools-stackoverflow%20(1)-jpg.jpeg?width=650&height=357&name=back-end-tools-stackoverflow%20(1)-jpg.jpeg)
The Best Back-End Tools for Web Developers to Use in 2023
![](https://s3.us-west-2.amazonaws.com/public.notion-static.com/template/809abff5-4f59-4809-935f-4cd216db8c3e/desktop.png)
100 days of code journal
![](https://c1.neweggimages.com/productimage/nb640/17-994-162-02.jpg)
MB290SP-1B_Dual HDD SSD Light Weight Mounting Bracket For, 47% OFF
Cattle Egret - The Australian Museum
Little Egret vs Snowy Egret: What's the Difference?
How to get the width / height of an element in Photoshop? - Super User