views:

65

answers:

1

Is it windows.gears != undefined or something???

I just want to use javascript to return true or false if the person has google Gears.

+1  A: 

Detecting and Installing Gears although this requires gears_init.js. Maybe the source might give you a hint. It starts out like this, followed by some browser specific checks.

(function() {
  // We are already defined. Hooray!
  if (window.google && google.gears) {
    return;
  }
marklai