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
1
vote
1 answer

XPI extension with XPCOM

Does anybody knows how to make a XPI extension with XPCOM component? How can we install XPCOM component into Firefox?
Ștefan-Mihai MOGA
  • 343
  • 1
  • 5
  • 17
1
vote
0 answers

console.log doesn't work with jpm

I'm trying to log 1 to the console with jpm. The thing is that the google.com tab opens, but the 1 isn't outputed. Any ideas? var buttons = require('sdk/ui/button/action'); var tabs = require("sdk/tabs"); var button = buttons.ActionButton({ id:…
Matt
  • 37
  • 4
1
vote
1 answer

Can't unzip and zip Firefox addon

I'm trying to make some changes to an old Firefox addon of mine (available here). The .xpi package there works. But when I literally just unzip and rezip it, it will still install, but the context-menu-item the addon should insert isn't here. What…
Nona Urbiz
  • 4,873
  • 16
  • 57
  • 84
1
vote
1 answer

Tutorial for Simplistic Firefox Addon

Anyone know of a short tutorial where I can build a simplistic Firefox addon? I'm needing to see how to: build the XPI file make it have an on/off toggle menu when on, make it login to a site, wait until done, and then scrape the main page after…
Volomike
  • 23,743
  • 21
  • 113
  • 209
1
vote
0 answers

Are multi item xpi Firefox add-ons being deprecated separately and ahead of the rest of the add-on SDK?

In the current developer version of Firefox (53.0a2), attempts to install a multi item xpi are failing with an error stating that the xpi file appears to be corrupted. The browser console identifies the problem as an unknown xpi type (i.e. the type…
Karl D
  • 11
  • 2
1
vote
1 answer

Firefox 4 - NPAPI plugin works with 3.6 now declared corrupt!

Can anyone help with packaging a simple NPAPI plugin so it is compatible with Firefox 4, we have a plugin that works fine in all previous versions of Firefox but when it is tried it on Firefox 4 Beta 5 (latest version as of the question) then the…
Russell Kay
  • 113
  • 1
  • 5
1
vote
1 answer

How to properlly rebuild a .xpi file for Firefox +45.0.1?

I would like to force the compatibility of FastDial for the new Firefox 4.5.0.1, and other extensions. I did this in the past for a lot of addons, I know the procediment... the xpi is just a zip file, that when extracted their contents, you will…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
vote
1 answer

Exponential increase in xpi file size in Firefox addon development for each build

I am learning to develop addon for Firefox. What i observed is for each jpm sign the size of validated .xpi increases two fold from the previous .xpi file size even though the addon file change is very minimal. Following illustrates the…
bprasanna
  • 2,423
  • 3
  • 27
  • 39
1
vote
0 answers

bsdtar fails to unpack firefox xpi

Extensions to Mozilla applications like Firefox or Thunderbird are distributed in XPI format, which is basically a ZIP archive. As such, the unzip utility can extract it. bsdtar is able to do so, as well. But if the archive contains a META-INF…
XZS
  • 2,374
  • 2
  • 19
  • 38
1
vote
1 answer

Configure NSS Signtool to work with a Thales HSM?

I have a problem. My organization needs to perform code signing for the XPI file type. The certificates and their private keys MUST be protected by a hardware security module. This is for security reasons. The existing NSS Signtool provided by…
1
vote
2 answers

Best way to install a firefox extension on the shell

I want to create a new profile with an addon preinstalled. What works: run firefox a first time. add the addon.xpi to profile/extensions/addon.xpi. edit profile profile/extensions.ini and add Extension0=/full/path/to/extension.xpi. start firefox…
allo
  • 3,955
  • 8
  • 40
  • 71
1
vote
1 answer

Firefox 40 does not allow the extension even after signing

I am Using Firefox 40 and followed Signing an XPI article to sign an XPI. Used certutil to sign the XPI, imported the X509.cacert in firefox Certificate Manager (Authorities tab) every step completed as mentioned in the article. Now if I install the…
Prakash
  • 742
  • 7
  • 19
1
vote
3 answers

CSS:: Is there any CSS element inspector (or plugin)?

I was wondering if there is a CSS element inspector so you can easily copy an element completely AND all it's (USED ONLY) CSS properties. I want to be able to copy only the CSS lines that used to create that specific [selected] element. iow... I…
Hezi-Gangina
  • 637
  • 6
  • 20
1
vote
1 answer

Is it possible to update the HTML content of a page using a Firefox extension or desktop application?

Is there any method to update the main HTML content of any site while loading on Firefox? Can Firefox extensions (.xpi) do that? Alternately, is there any method by which desktop software can inject or remove HTML code from sites which users open…
Ahmed Atef
  • 55
  • 1
  • 8
1
vote
0 answers

Cannot load default preferences in Firefox addon

I'm creating a very simple Firefox addon for testing purposes. I want to set default preferences (e.g. set extensions.myextension.bingo to "http://www.example.com"), however I can't seem to get this to work. Here's what I did so far: My lib/main.js…
a1191853
  • 11
  • 3