Questions tagged [xpi]

XPI(Cross Platform Installer) is a file extension most commonly used to identify Firefox addons.

XPI is a compressed package which uses the ZIP file format. It is used across multiple Mozilla platforms to bundle XULRunner applications, themes, and extensions.

References

94 questions
2
votes
0 answers

Make an installer for IE and firefox addons

I want to pack the xpi file into my IE addons installer. The IE addons installer is created by VS2010 I am no idea how to make a setup file for XPI (firefox addons) My addon is a toolbar.
2
votes
2 answers

Firefox ignores signature on successfully signed XPI - how to diagnose?

I've created a Firefox plugin, a Win32-native code DLL - using Firebreath. I'm working on Windows 7/x64, and targeting Windows only. The plugin itself is working well, but I'm really stuck getting a correctly signed XPI. If I don't sign my XPI, it's…
Spike0xff
  • 1,246
  • 1
  • 15
  • 24
2
votes
1 answer

Arch Linux - How to install Firefox extensions (with no install.rdf file) silenty by command line

I'm working on Arch Linux OS where I use Firefox 91.10.0esr (so, Firefox ESR) and I'm looking for a way to install silently Firefox addons by using terminal. I'm aware of methods to install them by calling the downloaded addon .xpi as firefox-esr…
Develobeer
  • 425
  • 1
  • 8
  • 19
2
votes
3 answers

How to get the link to the latest version of firefox addon?

I don't want to redirect user to firefox's store to install addon. I want to user be able to install addon immediately on my own site. I know for this I should create 'a' element with href to .xpi file. But how I can get the link to the latest…
Roman Yakoviv
  • 1,614
  • 15
  • 19
2
votes
1 answer

How to create a xpi file from scratchpad

I have developed my add-on in scratchpad environment and now developing is finished and I want to create final xpi file. I replace only this: Cu.import('resource://gre/modules/ctypes.jsm'); by this: var {Cu} = require("chrome"); var{ctypes} =…
Hosein Aqajani
  • 1,553
  • 4
  • 26
  • 46
2
votes
1 answer

Debugging Firefox extension - How to see all JS and XUL files contained in the XPI?

I'm trying to debug a Firefox extension, using Firefox 28.0. I have set up the dev environment as suggested in https://developer.mozilla.org/en-US/Add-ons/Setting_up_extension_development_environment (actually I just took the lazy way out and…
Edwin Lee
  • 3,540
  • 6
  • 29
  • 36
2
votes
2 answers

Intercepting mouse over href from Firefox extension

How can I know the url under the mouse cursor from a firefox extension? I need to interact with the href from within the overlay.js file. I'd want a lightweight solution, for example I don't want to attach some event to all hrefs found in a page.…
JuanDeLosMuertos
  • 4,532
  • 15
  • 55
  • 87
1
vote
2 answers

Mozilla XPCOM is not registered

I'm trying to build an extension for Firefox. This extension uses an XPCOM component (a C++ dll). I'm compiling the DLL, compilation is OK. The next step would be to use the component in Javascript from my extension. I added the code to register my…
frinux
  • 2,052
  • 6
  • 26
  • 47
1
vote
2 answers

Using OOP in firefox extension

I'm using classic OOP code from Mozilla var myExtension = { init: function() { // The event can be DOMContentLoaded, pageshow, pagehide, load or unload. if(gBrowser)…
Castro
  • 87
  • 1
  • 2
  • 9
1
vote
1 answer

localStorage doesn't save the data

I'm developing firefox extension and going to save local data in localStorage. So I testing my extension on local saved web page. window.content.localStorage.setItem('name', 'Hello World!'); And window.content.localStorage.getItem('name') return…
Castro
  • 87
  • 1
  • 2
  • 9
1
vote
2 answers

Adding add-on bar to a custom XULRunner application

On MDN, the phrase "Add-on Manager-enabled XUL application" is introduced. By dragging a XPI file containing an add-on and dropping it onto a FireFox window, the addon's widgets will be installed in FireFox's add-on bar. I can also use Firefox to…
vo1stv
  • 55
  • 2
  • 17
1
vote
2 answers

How to install a Firefox Addon with nsis

How can I install a Firefox addon via nsis installer? When I call Firefox with the .xpi extension it doesn't work and xpi extensions are not associated with Firefox either. If I drop it to "C:\Program Files\Mozilla Firefox\extensions" then it tries…
dr. evil
  • 26,944
  • 33
  • 131
  • 201
1
vote
1 answer

NodeJS/React install xpi file instead of downloading it

Situation : 1.My nodeJS server serves a file like so : fileRouter.get('/firefox', async (req,res)=>{ const mime = 'application/x-xpinstall' fs.readFile('controllers/file.xpi', (err, data)=>{ if(err){ …
AVALFINN
  • 23
  • 3
1
vote
0 answers

Firefox: How to export RSA private key from Mccoy database

Want to export private key from Mccoy database to use it with uhura. How can I do this? P.S. The answer is - start with the following command certutil.exe -K -d .
se_pavel
  • 2,181
  • 1
  • 28
  • 42
1
vote
0 answers

Adding and activating firefox addons in GeckoFX

I need to add and activate a spell checker plugin (es-ES@....xpi) in GeckoFx, in a C# program. I've been reading some answers here and some other forums, but none of them have worked. Anyone has managed to get an xpi Firefox addon working in…
Kakarotto
  • 5
  • 1