SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    System information

    How can i get system information using javascript.
    like physical memory...

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could write a Javascript that asks the user to enter his system memory in for you, but you can't access that kind of information directly with Javascript.

    Alternatively, you could write a Javascript that greedily eats up system memory, keeping track of its own performance by measuring the increase in time it takes to do certain tasks, and then use this to calculate the probable system memory available to the browser (I bet the user shuts down his browser first though!).

  3. #3
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can't. No one would download webpages if code on them could go rifling through their system.
    Last edited by 7stud; Jan 20, 2007 at 06:03.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •