two phones - Android OS, HD, FHD screens. Height 720 + 1080 respectively. Now the problem is:
alert(window.screen.availHeight); alert(window.screen.height); alert(screen.height); //640 //640 //640
Browsers - stock, chrome. I need phones with a screen resolution of less than 720 pixels in height to NOT execute the js script. What to do?
UPD: in the mobile emulator in chrome, the numbers are honest