javascript - User Agent Class Library -
i know "useragent.js" , "user-agent-utils 1.8" used identify type of browser ,operating system,mobile devices etc,at user end.
can identify resolution/size of screen(in pixels) using user agent class library?
thanks in advance.
using javascript not user agent
window.screen.availheight specifies height of screen, in pixels, minus interface features such taskbar in windows.
window.screen.availwidth specifies width of screen, in pixels, minus interface features such taskbar in windows.
window.screen.width the total height of screen, in pixels.
window.screen.height the total width of screen, in pixels.
Comments
Post a Comment