Page 1 of 1

Support for ElasticFox please

PostPosted: Wed Jul 15, 2009 4:07 am
by shl0m0
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!

PostPosted: Thu Jul 16, 2009 10:17 am
by cbaker_admin
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.

PostPosted: Thu Jul 16, 2009 10:31 am
by shl0m0
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?

PostPosted: Thu Jul 16, 2009 11:42 am
by cbaker_admin
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.

PostPosted: Thu Jul 16, 2009 12:11 pm
by shl0m0
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?

PostPosted: Thu Jul 16, 2009 3:39 pm
by cbaker_admin
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;}

PostPosted: Fri Jul 17, 2009 12:57 am
by shl0m0
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.