How do I check if GEARS is installed, using javascript?

240 Views Asked by At

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

There are 1 best solutions below

0
marklai On BEST ANSWER

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;
  }