I have created a XPCOM add-on for firefox by the name "Sample Mozilla AddOn" from XPCOM C++ SDK. I have created an XPI file (which is an add-on installer in Firefox).
When i try to install this XPI to install my XPCOM component, i get an error "Sample Mozilla AddOn could not be installed because it has a high risk of causing stability or security problems"
I tried looking out on internet and MDN, but could not found any concrete information.
Kindly Help
Thanks and Regards
Uday Gupta
open mozilla firefox,
then drag the .xpi file and drop it in mozilla firefox window.
Then click install > restart firefox.
Just try it...!
Related
How can I open a new tab with a web page when someone installs my firefox extension so I can show a welcome message?
I'm compiling Firefox 44.0.2 on my Windows machine using the official guidance: Simple Firefox build. I want to integrate some custom add-ons to my build. The add-ons are usually .xpi files.
How to do this?
The documented way to do this is to include the .xpi file with the distribution in the directory:
[Firefox install directory]/distribution/extensions
The add-on will then be installed in (copied to) each profile upon the first use of that version of Firefox with the profile. The copy of the extension in each profile will be automatically updated using the normal auto-updating procedure. Effectively, the add-on will be treated as if separately installed in each profile. The user will not be asked to confirm installation of the add-on.
For more information see:
Customizing Firefox: Including extensions with your distribution of Firefox (MDN documentation)
Installing extensions (MDN documentation)
Auto update of bundled Firefox extensions (Stackoverflow question)
Install WebExtensions on Firefox from the command line (Stackoverflow question)
This answer was copied from my answer to Integrating an add-on into a custom Firefox build.
I have developer version installed (44.0a2) with firebug 2.0.13 plugin. When I right-click on the webpage and select "inspect element with firebug" I get a pop-up asking me to install firebug 3.0 beta. when I click "install and restart" I get an error message saying the install of firebug 3.0 failed.
When I try to install firebug 3.0 manually - firebug-3.0.0-beta.1.xpi I get a failed install due to add-on not verified. I am getting the firebug 3.0 xpi from https://getfirebug.com/releases/firebug/3.0/
Can anyone help with how to install firebug 3.0 with the developer version of firefox?
I had this problem today. It is because by default firefox is not allowing unsigned plugins, which firebug 3 is because it is still beta.
To disable extensioning signing
type about:config in the address bar
search for xpinstall.signatures.required
Right click and toggle it to false
This should allow it to install.
The alternative is disabling multiprocess firefox so that firebug 2 can
still work. This can be done by disabling multiprocess firefox in the settings menu.
I just finished building my first addon for Firefox using the new Addon SDK.
I'm able to download and install the addon on my desktop Firefox 33.0 and it runs without a problem, however when I try to install the same addon on Firefox for Android 33.0 I get an error message: "... could not be installed because it is not compatible with Firefox 33.0"
Do I need to do anything special to allow my addon to run on Firefox for Android? The addon is generic and there's no reason why it shouldn't run on Android
EDIT: It seems like the problem was indeed that some APIs are not supported in Firefox for Android, the link provided by willma contains all the information required to release an addon for mobile.
It is likely you're using a module that isn't compatible with mobile. See the mobile module compatibility list for more details.
I have an custom addon developed for our workplace (using the add-on SDK) that was originally developed for FF4.
When FF5 came out all I had to do was rebuild the XPI. FF6 was able to use the same XPI.
Now I'm trying to get it running in FF7, and it's not working. I get a "this add-on is not compatible with Firefox 7" when trying to install it.
I've read this blog post:
http://blog.mozilla.com/addons/2011/07/19/firefox-7-compat-looking-to-8/
And from what I can tell none of the changes affect my add-on.
Also running this validation test
https://addons.mozilla.org/en-US/developers/addon/validate
Yields no errors or warnings.
Any clue on how to find out what makes FF7 think it incompatible?
You should use the newest version of the Add-on SDK to rebuild your add-on. Right now, the latest version you get offered on the SDK download page is Add-on SDK 1.1, released on September 13th. It will mark add-ons compatible with everything up to Firefox 8.0a1. You are most likely using an older version, e.g. Add-on SDK 1.0 would only mark add-ons as compatible with Firefox 7.0a1.