You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functiongetResolution(){constrealWidth=window.screen.width*window.devicePixelRatio;constrealHeight=window.screen.height*window.devicePixelRatio;console.log(`Your screen resolution is: ${realWidth} x ${realHeight}`);}// testgetResolution();// Your screen resolution is: 3840 x 2160
How to get the real screen size(screen resolution) by using js
https://stackoverflow.com/questions/65462643/how-to-get-the-real-screen-sizescreen-resolution-by-using-js
https://www.debugcn.com/en/article/44749128.html
The text was updated successfully, but these errors were encountered: