Max Schmeling
Max Schmeling

Reputation: 12509

Any way to detect browser running through Terminal Services?

I am working on a site that has some jquery based animation, and I was wondering if there is any way to detect if the site is running in browser that is being run in a terminal services (remote desktop) session so I can disable the animation?

I run through remote desktop quite often from remote locations and animations always annoy me, but I really like them when I'm not running through remote desktop. Is there any way to ease the pain without getting rid of animations all together?

I guess I could allow the user to turn them off, and have it store a cookie... but is there any way to do it automatically?

Upvotes: 2

Views: 964

Answers (2)

AaronSieb
AaronSieb

Reputation: 8266

This is almost certainly impossible with JavaScript (way, way above the level JavaScript operates at). It may be possible via something like Flash or ActiveX.

Edit: You will likely need something along the lines of what nVidia is using here: http://www.nvidia.com/Download/Scan.aspx?lang=en-us

Looks like a Java applet.

Upvotes: 1

Mark Redman
Mark Redman

Reputation: 24535

If the site animation is annoying to you, you may want to take it off completely as it may be annoying to site users?

I would suggest not building in extra code to stop the site from displaying as it should, in some cases users of the site may be running terminal services themselves (creating a point of failure)

If the animation is some kind of intro you could have a "skip" feature that switches it off an use a cookie as you mention.

Upvotes: 0

Related Questions