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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -