skip to main content

kiesler.at
You are NOT logged in. ( login | register | forgot password ) Why log in?

Showing current colordepth & screensize
updated by rck, 2004-10-10

Sometimes, you'd simply like to know the current colordepth and screensize. On a foreign computer, for example. I've found & implemented a script, which does exactly that. And even shows you the available height & width. Could be handy for Webdesigners!

Figuring out your Screensize, etc.

Reference

JavaScripts : System : Monitor


The (german) article I've implemented here.

Figuring out your Screensize, etc.




RSSComments - Make a comment

Please go ahead and share your thoughts about this with us. Thank you!

  • No Subject

    Posted on 2004-10-09 21:21:27 By Anonymous

    Screensize isn't terribly useful. You need to know the size of the viewport if anything, not the screensize as the user may have different furniture switched on or not be running the browser full size.

    Shaun

    [Reply ]

    • Re:

      Posted on 2004-10-09 21:23:29 By Anonymous

      Plus, having just looked at the code, you'd not want to do it with Javascript in phpWebSite as you open the site up to cross site scripting exploits by script kiddies.

      Shaun

      [Reply ]

      • Cross Scripting Exploits

        Posted on 2004-10-09 21:30:28 By rck[209]

        as you open the site up to cross site scripting exploits by script kiddies.

        Where can I find more information on this?

        [Reply ]

    • Viewport size

      Posted on 2004-10-09 21:29:11 By rck[209]

      changed On 2004-10-09 22:23:43 Edited By rck (reason: )

      You need to know the size of the viewport if anything

      That's what I'm trying to display as "render size". Doesn't quite work the way I want it to... Besides, it's more of a "JavaScript tryout", I don't want to use the screensize for scripting, only display.

      The color depth, on the other hand, is really useful for me. I have 10 machines at home, every one of them has a different configuration. I can figure it out just by viewing this article img=./images/emoticons/icon_smile.gif a=smile]/img]

      [Reply ]

RSSAll Articles
2008, 2007, 2006, 2005, 2004