简体   繁体   中英

Firefox extension can't installed via registry

I have an own extension, it signed by Mozilla.

I want to install it via registry (described on mdn: https://developer.mozilla.org/en-US/docs/Archive/Mozilla/Adding_extensions_using_the_Windows_registry ):

[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Firefox\Extensions]
"ffinterop@acme.com_signed"="C:\\work\\Foo\\ffinterop@acme.com_signed-2.2.48.41239.xpi"

But it can't show up after starting firefox, no message, no error. This extension worked a few weeks ago...

If I have a try with a non-signed version of this extension, firefox shows it as disabled with a warning, it's ok (signing is required). But the signed one is completely dead.

What is the problem?

Sorry, I haven't read the details in the docs... The registry key name and the extension id in the manifest MUST BE the SAME.

The ID of the extension must be used as the name of the Registry entry.

After fixing the name, the extension installed automatically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM