Support for ElasticFox please

"Ordered Preference Import/Export" discussion and bug reporting.

Support for ElasticFox please

Postby shl0m0 » Wed Jul 15, 2009 4:07 am

ElasticFox is a very useful extension to manage Amazon EC2 cloud computing resources. I would love to be able to use OPIE to export my ElasticFox settings and copy them to another browser, but OPIE does not recognize ElasticFox.

It's strange, because the ElasticFox prefs follow the "ec2ui.prefName" naming scheme, for example (copied from the about:config screen)
Code: Select all
ec2ui.url;https://us-east-1.ec2.amazonaws.com

and ElasticFox's URI is
Code: Select all
chrome://ec2ui/content/ec2ui_main_window.xul
.

Please add ElasticFox support to OPIE.

Thanks!
shl0m0
 
Posts: 4
Joined: Wed Jul 15, 2009 3:57 am

Postby cbaker_admin » Thu Jul 16, 2009 10:17 am

You should be able to specify the "preference root" for that extension in OPIE Options > Configure. Just double-click the preference root line for ElasticFox and enter ec2ui.

Let me know if this works.
Chuck
User avatar
cbaker_admin
Site Admin
 
Posts: 2307
Joined: Sun Nov 27, 2005 10:51 pm
Location: Glendale, AZ USA

Postby shl0m0 » Thu Jul 16, 2009 10:31 am

I'm running OPIE 1.2.3.

I open OPIE > Configuration and hit "Get extension info". A bunch of extensions are shown in the list, but not ElasticFox.

Also, I'm running Firefox 3.5 and I needed to hack the install.rdf with
<em:maxVersion>3.5.*</em:maxVersion> in order for OPIE to install. Might this be related?
shl0m0
 
Posts: 4
Joined: Wed Jul 15, 2009 3:57 am

Postby cbaker_admin » Thu Jul 16, 2009 11:42 am

You're right ... I installed ElasticFox to see what's doing. When you open Tools > Add-ons and select "ElasticFox", the "Options" button is disabled. That's why OPIE can't find it - the extension does not declare it has any preferences (options). It obviously does, however the developers did not follow standard Firefox extension conventions as to how the options are presented to the user. They should have included an optionsURL declaration in install.rdf. (That's probably why you can't get ElasticFox from AMO.)

I am working on OPIE v2.0 and will put some code in that will handle this situation. I'll post again here when I have something for you to test.
Chuck
User avatar
cbaker_admin
Site Admin
 
Posts: 2307
Joined: Sun Nov 27, 2005 10:51 pm
Location: Glendale, AZ USA

Postby shl0m0 » Thu Jul 16, 2009 12:11 pm

That would be great, thanks.

I tried manually adding an optionsURL to ElasticFox's install.rdf (pointing to chrome://ec2ui/nonexistent.xul), just to see if it helps OPIE detect ElasticFox, but that didn't change anything.

Will (declared) support for Firefox 3.5 also be included in OPIE 2.0?
shl0m0
 
Posts: 4
Joined: Wed Jul 15, 2009 3:57 am

Postby cbaker_admin » Thu Jul 16, 2009 3:39 pm

Yes. v2.0 will include Fx3.5 support.

In the meantime, if you want OPIE to ignore the optionsURL check, just comment out or remove line 186 in opie.js.

Code: Select all
if(optURL == "(none)"){return false;}
Chuck
User avatar
cbaker_admin
Site Admin
 
Posts: 2307
Joined: Sun Nov 27, 2005 10:51 pm
Location: Glendale, AZ USA

Postby shl0m0 » Fri Jul 17, 2009 12:57 am

Tried commenting out that line.
ElasticFox shows up in the Configure list.
But then, on the Export tab after hitting "Get list" it is not listed.
shl0m0
 
Posts: 4
Joined: Wed Jul 15, 2009 3:57 am


Return to OPIE

Who is online

Users browsing this forum: No registered users and 0 guests

cron