For when you want to get the size of the browser you are working in, such as in web application development.

Width and height of the browser client area

You can get the current values in real time by displaying this page in a separate tab in your development browser.
The width and height of the browser client area can be obtained with the following JavaScript
document.documentElement.clientWidth
document.documentElement.clientHeight

note:
If you use Chrome Developer Tools to set the mobile device display mode, the numbers displayed are correct, but the arrow length may be insufficient.
You can use it freely for both commercial and personal use.
This article is current as of October 2017
If you have any questions about this site, please contact ao-system
We shall not be liable for any claims for damages incurred in the operation of this program, regardless of whether or not there is any negligence in the use of this program.
 
0000 0000