카테고리 없음

Firefox How To Install Xpi

stupimsivi1974 2020. 12. 6. 03:47


Download Mozilla Firefox, a free Web browser. Firefox is created by a global non-profit dedicated to putting individuals in control online. Nonton anime magic knight rayearth. Get Firefox for Windows, macOS, Linux, Android and iOS today!

  1. Firefox How To Install Plugins
  2. Firefox Force Install Xpi
  3. Firefox Auto Install Xpi
  4. Firefox How To Install Xpi
  5. Firefox How To Install Ve Wend Computer
Active6 years, 3 months ago

Is it possible to build a installer(or program) in windows 7, that can install extension to firefox (if the browser installed on the machine).

Mugen metal gear rex toy. or atleast help me by providing command to install firefox extension through command line in windows7.

  • To install an extension manually, download the XPI file, then open Firefox and select 'Add-ons' from the menu. Drag and drop the downloaded file onto the list of currently available extensions. Click 'Install', then restart your browser when prompted to activate the extension.
  • If you are going to build a package anyway, the easiest way would be to install them globally: firefox -install-global-extension xy.xpi. After that, you can capture the resulting directory (often in the form of GUID) in the firefox extensions folder to your package.

('firefox addon.xpi' command is available in linux)

Thanks

Mmh
MmhMmh
1851 gold badge3 silver badges13 bronze badges

3 Answers

Installation of extension in Firefox is very simple.

You need to launch Firefox.exe with your .xpi file as parameter

The official documentation says you should use -install-global-extension switch (not sure why, it should worked also without it, at least in older versions it did).

Details here: http://kb.mozillazine.org/Command_line_arguments

If you want to create whole installer with this feature, let's say in NSIS:

If you use other installation system it is very similar.

SlappySlappy
3,7241 gold badge18 silver badges24 bronze badges

To install a Firefox extension on Windows you should simply add a value to the Windows registry. This can be done by opening a .reg file or running reg.exe with the right parameters, a custom Windows application to add it would also be trivial. Adding to HKEY_CURRENT_USER can be done without advanced privileges (no UAC prompt), adding to HKEY_LOCAL_MACHINE (for all users) requires administrator privileges.

I would advise against using -install-global-extension since that adds the extension to the Firefox application directory - you have to know where Firefox is installed, administrator privileges are always required and updating/uninstalling the extension is non-trivial. Also, firefox addon.xpi will install into the default user profile - in addition to the disadvantages of -install-global-extension this doesn't consider the fact that more user profiles could exist on the computer (or be created in future).

Firefox how to install norton toolbarWladimir PalantWladimir Palant
50.5k10 gold badges85 silver badges116 bronze badges

Firefox path can be detected by reading this registry key:

On my PC this PathToExe looks like 'C:Program FilesMozilla Firefoxfirefox.exe' so this is exactly the value you need.

However this is a little tricky because the key contains Firefox version 20.0.1 (en-US)To get this version at first read this key:

which will return 20.0.1 (en-US)

Simply join all parts together:

to get whole key.

SlappySlappy
3,7241 gold badge18 silver badges24 bronze badges

Not the answer you're looking for? Browse other questions tagged installerfirefox-addoncommandexecutable or ask your own question.

Active2 years, 5 months ago

I work on a firefox addon using JPM.

I want to install it on my android phone, i've run 'jpm xpi' and copy xpi on my sdcard. When i browse to file://path/to/my/xpi in android firefox nothing happen.Same issue if i upload xpi on my server and browse to url.

i've tested with google play firefox up to date version and nighty.

where is my mistake?

Firefox How To Install Plugins

Noitidart
19.6k16 gold badges73 silver badges177 bronze badges
LezmeLezme

5 Answers

Neither ES File Explorer nor X-plore worked for me (as per Trasd's comment). I saw the three Firefox's, but none of them triggered to install the XPI.

The solution for me was creating an installer HTML file in the same directory as the .xpi files, like the following.

install.html:

Then, you can either:

  1. Enter the path to this install file directly in Firefox, e.g. file:///storage/sdcard0/MyXPIFiles/install.html
  2. Or, navigate to the file in your File Manager and open it in Firefox when prompted.

In Firefox viewing the install.html file you created, click on each link on the page, and you should see a prompt, 'Firefox prevented this add-on from installing on your device.' Just click 'Allow', and it should install.

EDIT: Apologies, I see you said that navigating to a URL did not work for you. But if no one minds, I'll leave my answer here, cause it's the only one that worked for me, and maybe others too.

user2975337

Create github repository for your addon. Then get this extension:

Then go to your github repository with firefox on android, then make it display 'desktop version of website' from firefox menu icon at top right, then click 'add to firefox'.

This is by far the easiest way to get addon from your computer onto android.

NoitidartNoitidart
19.6k16 gold badges73 silver badges177 bronze badges

This is a problem because of the different Versions. I had the same problem as you. I tried to install the xpi manually. The trick is to install versions that are older. So currently Firefox v43 does not work. But v38 or v39 for Example works without any problem.

v42 for Example does not work. v41 works. It seems like they changed something here. Because the Explorer also offers 3 Options to Start Firefox with v42, but only 2 with v41.

HighriserHighriser

Firefox Force Install Xpi

You can create and install Firefox extensions locally on your Android device!

I'm creating and installing simple Firefox extensions using nothing but my Android itself, instead of hooking it to (or programming on) my PC. To install extensions without involving a USB connection:

If you're working with an existing addon from you PC, get the xpi onto your Android device (email it to yourself if you have no other method).

  1. Using Root Explorer (even though I'm not rooted on this tablet) or Explorer, the free version (sorry, they won't let me put more than 2 links), long-press on the xpi file and choose Open With.
  2. Choose the Apps tab (3rd one) and scroll down until you see Firefox (there are 3 Firefoxes in the list - these are Intents, I think).
  3. Choose the second Firefox in the list.
  4. If you selected the correct Firefox in the list, you will see a 'Tab saved in Firefox' toast - DO NOT TAP IT! If not, try the procedure again, but select a different Firefox in Root Explorer's Open With App list.
  5. After the toast, if Firefox displayed an icon on your Notification Bar, activate it. This will bring up Firefox with a new tab where you have to give your approval to install the extension. If you don't have a Notification Bar icon, just open Firefox.

Like most things, this is much simpler to do than to explain.

Firefox Auto Install Xpi

Please note, I am using Firefox for Android 42.0.1. I also use the Console 1.1.1 (by DigDug) add-on for simple debugging. I had to download the Console extension from its Github site and install it using this method because I couldn't get it to install through Firefox's regular method, nor could I get 'Githib Extension Installer' to work on my system. I am using a Samsung Galaxy TabPRO SM-T900 12.2' with Android 5.1.1.

Good luck!

TrasdTrasd

Create a html file with this code:

Then copy the xpi files into the same folder, you can load them dynamically and then click on corresponding link.

Firefox How To Install Xpi

Eiler F BustamanteEiler F Bustamante

Firefox How To Install Ve Wend Computer

Not the answer you're looking for? Browse other questions tagged androidfirefox-addonfirefox-addon-sdkxpijpm or ask your own question.