How to Get true pixel height and width of window in javascript
If you check the window outerwidth on a maximised browser window, you should get the resolution width of your screen or display in general. For example when I run the following code (in console) in Firefox I get 1920px which is my resolution width: window.outerWidth 1920 On Google Chrome however, the reported dimension is different… Read More »