Is it possible to include conditional content based on the resources available to a visitor’s machine? In my case I would like to load a jQuery plugin if the visitor has more than 1GB RAM, but disable the plugin for less than 1GB.
Cheers
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
December 30, 2011 6:27pm
Subscribe [3]#1 / Dec 30, 2011 6:27pm
Is it possible to include conditional content based on the resources available to a visitor’s machine? In my case I would like to load a jQuery plugin if the visitor has more than 1GB RAM, but disable the plugin for less than 1GB.
Cheers
#2 / Dec 31, 2011 7:33am
I very much doubt it, if you could do that it would pose a huge security risk 😊
#3 / Dec 31, 2011 9:17am
Not only that, but what if I had that much ram but it was in use by other apps? Big can of worms there…ultimately you want leave users in control of their experiences and able to decide how much strain to put on their system.
#4 / Jan 01, 2012 9:15am
Thanks for your replies, guys. Good points raised.