I guess you can abuse the way most Ubiquity skins are wrote.

1. Set up an element with the specific id/class (#ubiquity-preview
.ubiquity-preview-content etc.)
2. Check if its computed-style differs.

This could also detect which skin the user is using.

On Wed, May 6, 2009 at 6:25 AM, Alphawolf <[email protected]> wrote:
> I'm trying to see if Ubiquity addon is installed from a webpage. Let's
> say, I'm accessing domain.com/ubiquity/ I'd like to output a text
> passage that tells about to install a command on that page. But it
> should not display that message if Ubiquity is not installed in the
> user's Firefox. Or, am I able to access Ubiquity with plain javascript
> on a webpage to check for window.gUbiquity?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to