(re)install an extension from command line

Hi all.

I'm developing a firefox extension non bootstrap, and it would be very 
helpful to me to automatize its installation for rapid development.

Specially I would like to be able to restart firefox from command line 
and reinstall my extension. I have this bash / bat script that builds 
the xpi file for the extension.

Now, I have to drop the xpi file to firefrox using the mouse and answer 
2 dialogs for restarting firefox an be able to test my extension 
changes. This is not practical to me and I would like to reduce this 
work and be able to reinstall my extension using the command line.

I tried with firefox -install-global-extension but it is not working. My 
general idea is something like this shell script - not working at least 
in my env:



FIREFOX_BIN="/home/sebastian/programas/firefox/firefox"
FIREFOX_EXE_NAME="firefox"

#kill any firefox instance
killall $FIREFOX_EXE_NAME;

rm -rf *.xpi

sh build.sh  #build the xpi file

$FIREFOX_BIN -install-global-extension 
"/home/sebastian/desarrollo/portal4/beeblos-firefox-extension-1.2/beeblos-firefox-addon-0.2.xpi" 
&


I'm using firefox 12, just downloaded a fresh copy for testing 
-install-global-extension cmd line param  and thunderbird > 3, in linux.

p/d: I tried to search in this news group for something like this cause 
I thought it would be common to do this but didn't found anything.
0
cancerberoSgx
5/24/2012 4:04:15 PM
mozilla.dev.extensions 5694 articles. 0 followers. Post Follow

2 Replies
618 Views

Similar Articles

[PageSpeed] 55
Get it on Google Play
Get it on Apple App Store

You can just tell Firefox to load your extension from wherever your 
source files are that you're editing: 
https://developer.mozilla.org/en/Setting_up_extension_development_environment#Firefox_extension_proxy_file

0
Dave
5/24/2012 8:14:10 PM
El 24/05/12 17:14, Dave Townsend escribi�:
> You can just tell Firefox to load your extension from wherever your
> source files are that you're editing:
> https://developer.mozilla.org/en/Setting_up_extension_development_environment#Firefox_extension_proxy_file
>
>


thank you! I just tried and that was just I needed. Thanks!!
0
cancerberoSgx
5/25/2012 12:40:26 AM
Reply:

Similar Artilces:

Command-line Extension Installer
Something along the lines of install-mozilla-extension (--firefox|--thunderbird|...) \ ext1 ext2 ... Where extN is either a file or a URL, in either case something .xpi. Something like this would make remote/bulk installing/upgrading/extending of mozilla+family installations much easier. Cheers, Carlo On 2005-01-09 18:07, Carlo Graziani wrote: > Something along the lines of > > install-mozilla-extension (--firefox|--thunderbird|...) \ > ext1 ext2 ... > > Where extN is either a file or a...

Command line extension install
Hi, We're an open-source project building a virtual machine dev env for LAMP. https://github.com/quickstart/quickstart-drupal/wiki We'd like to include some common web development extensions. Our build system is commandline Puppet scripts. We'd prefer to not have a manual configuration - (20 manual configurations is alot of time for testing and building) What's the best way to install extensions? This wouldn't work if Firefox wouldn't do updates: https://developer.mozilla.org/en-US/docs/Installing_extensions This didn't work on Ubuntu 12.04 /usr/l...

How to pass command line arguments to an extension using a command line on MacOS?
I am developing an extension that processes some command line options. I want to invoke the Firefox from a command line like this: > ...../firefox -myarg1 -myarg2 I am running into a problem on Mac OS. When I run such command when there is no FireFox running it works fine. However if I run the command again I get an error saying that there is already an instance of Firefox running and only one instance can run at a time (paraphrasing here). I have tried to use the -remote option but no luck. Does anyone know how to solve this problem? Does anyone know if invoking of chatzill...

How to pass command line arguments to an extension using a command line on MacOS
I am developing an extension that processes some command line options. I want to invoke the Firefox from a command line like this: > ...../firefox -myarg1 -myarg2 I am running into a problem on Mac OS. When I run such command when there is no FireFox running it works fine. However if I run the command again I get an error saying that there is already an instance of Firefox running and only one instance can run at a time (paraphrasing here). I have tried to use the -remote option but no luck. Does anyone know how to solve this problem? Does anyone know if invoking of chatzill...

determining which plugins and extensions are installed from the command line
Hello, I am working on automated bug triage for Firefox and Thunderbird on Ubuntu(Linux). I am wondering if it is possible to determine which plugins and extensions are installed via the command line. Currently, we ask the bug reporter to look in about:plugins to see which plugins they have installed. I would like to skip this step so that the information is included in the orginal issue report. Thanks David Farning dfarning@gmail.com wrote: > Hello, > > I am working on automated bug triage for Firefox and Thunderbird on > Ubuntu(Linux). I am wondering if it...

Installing firefox / extension from command line on windows ?
Hi , I need to install firefox and a extension for it remotely on 40 machines at my workplace. Is there a way to script this for windows. The extension needs to be installed only for non-admin user. thanks in advance, vivekian vivekian wrote: > Hi , > > I need to install firefox and a extension for it remotely on 40 > machines at my workplace. Is there a way to script this for windows. > The extension needs to be installed only for non-admin user. > > thanks in advance, > vivekian > This link may be helpful : http://www.mozilla.org/proje...

How to detect the installed extension in Firefox without install any extension
I am not sure I post the question at a right place, Please kindly advice if I am wrong. I am trying to find a way that can find out all installed extension in Firefox. Is there any idea can reach this goal? Thank you. You can do that using the AddonManager.jsm JavaScript module, see https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Add-on_Manager/AddonManager Here is how about:support retrieves and sorts the information: http://mxr.mozilla.org/mozilla-release/source/toolkit/content/Troubleshoot.jsm#137 Archaeopteryx -------- Original-Nachricht -------- Betreff:...

Extension updates when extension is installed in Registry
Hi I am distributing a package that uses a FF extension. Rather than make users go through a 2-3 step process, I thought installing the extension in the registry from the installer will be simpler. But when I do that, I am not sure if updates to the extension happen at all. Can someone clarify this issue ? Regards Kallol Kallol Borah wrote: > Hi > I am distributing a package that uses a FF extension. Rather than make > users go through a 2-3 step process, I thought installing the extension > in the registry from the installer will be simpler. But when I do that, >...

Extension re-install?
I upgraded from FF 0.93 to 1.0 and sadly, my favourite solitaire game got turfed. I unistalled 1.0 and reinstalled 0.93 to get my game working again but unfortunately, it won't let me install it anymore. I downloaded the cards.xpi file and would love it if someone could tell me how to [manually?] re-install it. Bart, banjo[at]haruteq.com - Check my most up to date email address at: www.haruteq.com/contact.htm banjo bridges, tabs, stained glass: www.haruteq.com **may your moments of need be met by moments of compassion** ...

How to keep a file installed by a extension when the extension is updated
Hi all, I have a Firefox extension that installs a TXT file in the chrome directory, to store some statistics data about the usage of the extension. Now I have improved the extension, and I have replaced the TXT file with a RDF/XML file. The question is: can I keep that TXT file in the update process and use it to populate the new RDF file with data? Any suggestion will be welcomed, thank you. asier.sarasua@gmail.com wrote: >Any suggestion will be welcomed, thank you. > > I can't help with your specific case but I suggest placing such files somewhere in the pro...

Save Extensions Extension
That ISN'T bafflegab. LOL I'm looking for an extension that saves extensions and themes so if I have a system wide crash I can quickly resurrect my Firefox to the state it was in prior to having to reformat the hard drive. Thanks! On 22-02-2008 15:09 CET, stevezygote composed this enchanting statement: > That ISN'T bafflegab. LOL > > I'm looking for an extension that saves extensions and themes so if I have a > system wide crash I can quickly resurrect my Firefox to the state it was in > prior to having to reformat the hard drive. > &...

Starting extension from command line
Ok - I have my extension running. I used livehttpheaders as a template. My extension fires off from the Tools menubar. But now let's say I want to start firefox (with command line args) and open my extension as well. If I use firefox -chrome chrome://myext/content/myext.xul that will open my extension - but there is no firefox browser. I tried firefox & firefox -chrome chrome://myext/content/myext.xul but that brings up the profiles dlg box. How can I open firefox AND my extension from a shell script ? Thanks charlie schmitt wrote: > How can I open...

command line arguments for extension
Hello, I am writing an extension which stores information about mail transfer, stored files etc. in a RDF-repository to make it available for other applications. Now I want to start thunderbird with a messagID as command line argument so that my extension can show this message (afaik there is no built-in command line argument for that). My question now is, how can I access command line arguments in my extension? Thx for your help, David einStein wrote: > Hello, > > I am writing an extension which stores information about mail > transfer, stored files etc. in a...

Installing extensions in Thunderbird 5 by using the extensions folder
Dear all, as already described at [1] and [2] it was possible to install extensions by copying the XPI files to the %profile%/extensions folder. Unfortunately Thunderbird ignores this procedure in version 5. Does anyone know how to install extensions via the command line or can me point to an according manual? Thanks a lot and best regards, Alex [1] http://forums.mozillazine.org/viewtopic.php?f=28&t=2242565 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=668159 -- gpgtools.org On 06/07/11 14:00, Alex (via GPGTools) wrote: > Dear all, > > as already describ...

Web resources about - (re)install an extension from command line - mozilla.dev.extensions

HNN extension - Wikipedia, the free encyclopedia
... subgroups of G are conjugate (through a given isomorphism) in G' . In terms of the fundamental group in algebraic topology , the HNN extension ...

Star Wars: The Force Awakens: Browser extensions help avoid online spoilers
There are at least two extensions for Google's Chrome browser that will help you stay away from spoilers for the new film.

Feds defend request for right-to-die time extension
The Liberal government is telling the Supreme Court of Canada that those pushing for speedy implementation of right-to-die policies are naive ...

Skype iPhone & iPad app gets improved sharing with iOS extension
... if you’re unfamiliar: The updated Skype app for iPhone and iPad is available on the App Store. Filed under: Apps Tagged: App Store , extension ...

Obscura Camera 2.0 introduces Photos edit extension and improved photo browser
... launch on iOS. Obscura 2.0 sees the addition of a couple of notable features and the introduction of a new pricing model. Photos edit extension ...

HC.Gov extension to 12/17
... in comments over the past day about what to do if you were stuck in Healthcare.gov . I thought there was a good chance of a 1 to 3 day extension ...

AVG force-installed vulnerable 'broken' Chrome extension
Google Security Research has criticized AVG for "force installing" AVG Web Tuneup, a Chrome extension which could be exploited to reveal "browsing ...

Essential Google Chrome extension lets you block all Donald Trump news stories
When Donald Trump first got in the presidential race, I was positively giddy with excitement about the potential comedy he'd bring . Since then, ...

Sunedison Inc: Can ITC Extension Drive Growth for the Solar Industry?
Industry experts remain divided on the impact of the extension in solar investment tax credit on the solar energy market.

This Chrome extension highlihts weak phrases in your emails to make you sound more confident
“ Just Not Sorry ” is a Google Chrome extension that stops you from casually undermining yourself in emails. It identifies words and phrases ...

Resources last updated: 12/31/2015 9:15:15 AM