X
Tap here to go to the mobile version of the site.
Let us know if you would like to receive Community Updates? Please copy this link: https://bit.ly/2P2hAoR

Support Forum

how to install firefox extension programmatically

Posted

I want to install firefox extension from my windows desktop application, how can I do that? For Chrome, I can add my extension id to registry, then Chrome prompts for enabling the extension when start next time. I wonder if there is similar way in firefox.

Thanks Herb

I want to install firefox extension from my windows desktop application, how can I do that? For Chrome, I can add my extension id to registry, then Chrome prompts for enabling the extension when start next time. I wonder if there is similar way in firefox. Thanks Herb
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299

More Information

FredMcD
  • Top 10 Contributor
3732 solutions 51292 answers

Download the full installer from; Download Firefox For All languages And Systems {web link}

If you don't want to use its default settings, use the manual option.

Download the full installer from; '''[http://www.mozilla.org/en-US/firefox/all/ Download Firefox For All languages And Systems]''' {web link} If you don't want to use its default settings, use the manual option.
Was this helpful to you? 0
Quote
the-edmeister
  • Top 25 Contributor
  • Moderator
5313 solutions 39441 answers

1. Drag the XPI file from the desktop into the Firefox browser window. 2. Use File > Open File thru the Menu bar, Or {Alt - F, then O} to get the Open File menu in Windows Explorer.

1. Drag the XPI file from the desktop into the Firefox browser window. 2. Use '''File > Open File''' thru the Menu bar, ''Or {Alt - F, then O} to get the Open File menu in Windows Explorer.
Was this helpful to you?
Quote

Question owner

the-edmeister said

1. Drag the XPI file from the desktop into the Firefox browser window. 2. Use File > Open File thru the Menu bar, Or {Alt - F, then O} to get the Open File menu in Windows Explorer.

Thanks but i want to do it from C codes, not manually.

''the-edmeister [[#answer-1104401|said]]'' <blockquote> 1. Drag the XPI file from the desktop into the Firefox browser window. 2. Use '''File > Open File''' thru the Menu bar, ''Or {Alt - F, then O} to get the Open File menu in Windows Explorer. </blockquote> Thanks but i want to do it from C codes, not manually.
Was this helpful to you?
Quote

Question owner

Can anyone help pls?

Can anyone help pls?
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
16604 solutions 149898 answers

Helpful Reply

See: *https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options *https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Add-ons_in_the_enterprise *https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Sideloading_add-ons
Was this helpful to you? 1
Quote

Question owner

''cor-el [[#answer-1105747|said]]'' <blockquote> See: *https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options *https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Add-ons_in_the_enterprise *https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Sideloading_add-ons </blockquote> thank you cor-el, but add-ons installed by sideloading does not update automatically. it seems to be fully controlled by copied xpi file. is there any way to install a firefox managed xpi?
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
16604 solutions 149898 answers

I think that would require to drop the XPI file in the extensions folder in the Firefox profile folder. You will have to edit the file name and make the first part the ID as defined in the manifest.json file (applications.gecko.id) like required with the other methods.

I think that would require to drop the XPI file in the extensions folder in the Firefox profile folder. You will have to edit the file name and make the first part the ID as defined in the manifest.json file (applications.gecko.id) like required with the other methods.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.