This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Google Chrome Frame Installed and Enabled?

 
Roger F. Gay
Ranch Hand
Posts: 408
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I detect whether Google Chrome Frame (GCF) is installed and enabled? Any javascript or css type solution is welcome. (Strict no-bloat policy against using other frameworks and downloads.)

I am building a website that uses HTML 5 features, not all of which are supported by Microsoft Internet Explorer < v10 (at least). I have a check (javascript) for MSIE 9 or earlier, but this alone would be bad if GCF is installed. If GCF is installed and enabled, the application should go on its merry way without concern for the fact that it's running in MSIE.

Because I know all the specifics, I've decided not to use Browser Feature Detection. BFD seems like an extremely good general solution but more processing than I need for this specific instance. I've tested what I have in Chrome, Firefox, couple versions of Opera, and Safari as well as MSIE with GCF and it works fine. At this point, I'm hiding one feature from MSIE < 10 because it's not supported. But if GCF has been installed, it needs to be available.
 
Roger F. Gay
Ranch Hand
Posts: 408
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, this happens from time to time. So much time and effort, and then magically, just after asking, the answer is revealed. Might have something to do with composing thoughts while asking the question. Anyway. I already check to see if the user's browser is MSIE < 10. I just needed this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic