Search code examples
javascriptinternet-explorergoogle-earth

Detect Google Earth is installed in a web page on Internet Explorer


Is it possible in web page on Internet Explorer to detect if the Google Earth application is installed on the client machine using Javascript?

This page is part of a Trusted Site on an intranet.

Update: detecting it via creating an ActiveX object or any IE specific javascript is fine.


Solution

  • I don't think this works using Javascript. I'm pretty sure Google Earth doesn't install a plugin into Internet Explorer (or any other browser for that matter). So you can forget Javascript.

    As you are on a trusted site you may try using ActiveX. I'm not into ActiveX but maybe there's a way to have a deeper look into the client's system.