Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid the (Author not verified) message when installing a Firefox XPI file

What do I need to do to avoid the "Manual Install" in Firefox for a Plugin and where do I have to go or what do I have to do to avoid the (Author not verified) message when downloading a Plugin. Ideally I would like to initiate the installation of the Plugin automatically and if I need to sign the Plugin somehow to show that it is not doing any kind of malicious things I would like to do that as well.

Thanks!

like image 712
Detlef D. Doerscheln Avatar asked Nov 10 '08 06:11

Detlef D. Doerscheln


People also ask

How do I import an XPI file into Firefox?

xpi file; from the Firefox File menu, select Open File..., and open the saved Extension's . xpi file. A Software Installation dialog will appear. Select Install Now to start the installation.

How can I disable signature checking for Firefox add-ons?

There are also be special unbranded versions of Release and Beta that have this preference, so that add-on developers can work on their add-ons without having to sign every build. To disable signature checks, you will need to set the xpinstall. signatures. required preference to "false".

How do I install an XPI file in Chrome?

On Android devices, you can install the add-on an XPI file contains by locating the file in an Android file manager (such as File Viewer Plus or ES File Explorer), tapping it, and opening it with Firefox. The iOS version of Firefox does not allow users to install XPI files.


3 Answers

Signing the XPI will remove the warning message but there is still no automatic way to install extensions or plugins.

I've written a few posts on the XPI Format and a howto for signing using a java commandline tool.

The tool XPISigner simplifies the process considerably and is integratable into build systems.

like image 50
koregan Avatar answered Nov 09 '22 11:11

koregan


Here is the official tutorial, which only deals with signing the XPI. I don't believe it's possible to install the plug in automatically for rather obvious security reasons.

like image 37
Xenph Yan Avatar answered Nov 09 '22 12:11

Xenph Yan


Works for me on FF 2.0.3:

<script type="application/javascript">
<!--
function install (aEvent)
{
  var params = {
    "Foo": { URL: aEvent.target.href,
             IconURL: aEvent.target.getAttribute("iconURL"),
             Hash: aEvent.target.getAttribute("hash"),
             toString: function () { return this.URL; }
    }
  };
  InstallTrigger.install(params);

  return false;
}
-->
</script>

<a href="http://www.example.com/foo.xpi"
  iconURL="http://www.example.com/foo.png"
  hash="sha1:28857e60d043447c5f4550853f2d40770b326a13"
  onclick="return install(event);">Install Extension!</a>
like image 43
XPIinstall Avatar answered Nov 09 '22 11:11

XPIinstall