Is it windows.gears != undefined or something???
I just want to use javascript to return true or false if the person has google Gears.
Is it windows.gears != undefined or something???
I just want to use javascript to return true or false if the person has google Gears.
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;
}