On Jan 22, 2008, at 2:18 PM, Fabien Meghazi wrote:
1/ detect user setup or perform some tests, to determine the
available CPU, graphic Card, RAM, browser,OS. It may not even be
necessary to know these datas, if we run a test that just tells us
if the end user specs are speedy or not.
2/ send a different javscript file according to the results of the
benchmark.
Has anyone done somethiing similaror have any thought about this?
You won't be able to determine gfx card, ram, etc... in javascript.
(except for the window size)
You can find the browser and os in the user agent, see $.browser or
this plugin :
http://davecardwell.co.uk/javascript/jquery/plugins/jquery-browserdetect/
Actually there is something called Intel Web 2.0 Technology
Development Kit (sic) which enables you to get quite much information.
Although it works only with Windows XP and needs an installed
extension. So not too useful.
http://softwarecommunity.intel.com/articles/eng/1026.htm
--
Mika Tuupola
http://www.appelsiini.net/