Skip to main content
Inspiring
April 13, 2011
Question

How to Determine Browser Type

  • April 13, 2011
  • 1 reply
  • 446 views

Because of all the keyboard shortcuts such as Ctrl+C, Ctrl+C and Ctrl+V that Internet Explorer does not pass through to the Flash player (whereas Firefox and Chrome do), I want to be able to determine what browser an assessment simulation is running in so I can create work-arounds to cover IE's inadequacies.

I expect that this question must have been discussed previously, but because forum search does not seem to be working (returns 0 results, regardless of the keyword), I'm posting the question in the hopes that someone can point me in the right direction before I spend time trying to reinvent the wheel.

This topic has been closed for replies.

1 reply

Legend
April 13, 2011

Hi TrevDev,

Did you want to accomplish browser detection via JavaScript?  If so, I'd recommend one of the JavaScript libraries like jQuery or MooTools.  I personally use jQuery.  Also, if you look at the SCORM publishing templates that Cp has, there's some browser detection going on there as well... but it's not really as sophisticated.

HTH,

Jim Leichliter

TrevDevAuthor
Inspiring
April 13, 2011

Thanks, Jim. I'll look at jQuery. I haven't used it previously, but I've just been browsing your Captivate Javascript Series and seen your mentions of it there.

Trevor