How does JavaScript object window.screen.width
detect my ScreenResolution in Firefox under Ubuntu 10.4?
I mean what it accesses in OS to retrieve this data - OS variable or OS config files like a) .xprofile, b) kdm/gdm, c) xorg.conf. ?
How does JavaScript object window.screen.width
detect my ScreenResolution in Firefox under Ubuntu 10.4?
I mean what it accesses in OS to retrieve this data - OS variable or OS config files like a) .xprofile, b) kdm/gdm, c) xorg.conf. ?
It's almost certainly an implementation detail that could vary from one user-agent (browser) to another.