1. Get the width of the visible area of the webpage: document.body.clientWidth;
2. Get the height of the visible area of the webpage: document.body.clientHeight;
3. Get the width of the visible area of the webpage: document.body.offsetWidth; (including the width of the edge)
4. Get the page visible area High: Document.body.offsetHeight;(including the width of the edge)
5. Get the full text width of the Web page: document.body.scrollWidth;
6. Get the full text of the Web page High: document.body.scrollHeight;
7. Get the page to be rolled High: document.body.scrollTop;
8. Get the page to be rolled left: document.body.scrollLeft;
9. Get the body part of the webpage: window.screentop;
11. Get the page body part left: window.screenleft;
12. Get the high screen resolution: window.screen.height;
13. Get the width of the screen resolution: Window.screen.width;
14. Screen available work area height: window.screen.availHeight
15. Screen available work area width: window.screen.availWidth
JS Operation Dom and get browser height and width