加载解压后的扩展程序不适用于Firefox [英] Loading unpacked extensions doesn't work Firefox

查看:430
本文介绍了加载解压后的扩展程序不适用于Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于该附件似乎已损坏,因此无法安装"

我从安装解压的扩展程序时遇到上述错误. 我只是使用Winrar解压缩扩展程序,然后将文件夹拖到Firefox插件/扩展页面.

I am getting the above error from installing an unpacked extension. I just unpacked the extension using Winrar and then just dragged the folder to the Firefox addon/extension page.

加上将其压缩到addon.xpi也不起作用.

Plus Zipping it to addon.xpi doesn't work either.

我的目标:我正在编辑扩展程序以适合我的需求,但它似乎不起作用.

My Goal :I am editing an extension to fit my needs and it doesn't seem to work.

我认为Firefox具有某种客制化签名或类似功能,如何禁用此功能或编辑扩展名以满足要求.

I presume Firefox has some kindoff signing or something, how can I disable this or edit the extension to meet the requirements.

我正在运行 58.0(64位)

使用调试加载时,扩展名出现以下错误(Mozilla about:debugging)

The extension has the following error when loading using debugging (Mozilla about:debugging)

两者 edited.xpi original.xpi 都有错误. (但是 edited.xpi 会通过加载临时扩展名加载,但不会通过拖动方法加载.)

Both the edited.xpi and original.xpi have the error. (However the edited.xpi loads thru the load temporary extension but does not load for the dragging method. )

Reading manifest: Error processing background.persistent: Event pages are not currently supported. This will run as a persistent background page.
Reading manifest: Error processing permissions.4: Value "identity.email" must either: must either [must either [be one of ["clipboardRead", "clipboardWrite", "geolocation", "idle", "notifications"], be one of ["bookmarks"], be one of ["find"], be one of ["history"], be one of ["activeTab", "tabs"], be one of ["browserSettings"], be one of ["cookies"], be one of ["topSites"], be one of ["webNavigation"], or be one of ["webRequest", "webRequestBlocking"]], be one of ["alarms", "mozillaAddons", "storage", "unlimitedStorage"], be one of ["browsingData"], be one of ["devtools"], be one of ["identity"], be one of ["menus", "contextMenus"], be one of ["pkcs11"], be one of ["geckoProfiler"], be one of ["sessions"], be one of ["contextualIdentities"], be one of ["downloads", "downloads.open"], be one of ["management"], be one of ["privacy"], be one of ["proxy"], be one of ["nativeMessaging"], be one of ["theme"], or match the pattern /^experiments(\.\w+)+$/], or must either [be one of ["<all_urls>"], match the pattern /^(https?|wss?|file|ftp|\*):\/\/(\*|\*\.[^*/]+|[^*/]+)\/.*$/, or match the pattern /^file:\/\/\/.*$/]
Reading manifest: Error processing oauth2: An unexpected property was found in the WebExtension manifest.
Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.

这是浏览器控制台中的错误:

Here is the error from the Browser console:

          1516983623806 addons.webextension.<unknown>   WARN    Loading extension 'null': Reading manifest: Error processing background.persistent: Event pages are not currently supported. This will run as a persistent background page.
1516983623811   addons.webextension.<unknown>   WARN    Loading extension 'null': Reading manifest: Error processing permissions.4: Value "identity.email" must either: must either [must either [be one of ["clipboardRead", "clipboardWrite", "geolocation", "idle", "notifications"], be one of ["bookmarks"], be one of ["find"], be one of ["history"], be one of ["activeTab", "tabs"], be one of ["browserSettings"], be one of ["cookies"], be one of ["topSites"], be one of ["webNavigation"], or be one of ["webRequest", "webRequestBlocking"]], be one of ["alarms", "mozillaAddons", "storage", "unlimitedStorage"], be one of ["browsingData"], be one of ["devtools"], be one of ["identity"], be one of ["menus", "contextMenus"], be one of ["pkcs11"], be one of ["geckoProfiler"], be one of ["sessions"], be one of ["contextualIdentities"], be one of ["downloads", "downloads.open"], be one of ["management"], be one of ["privacy"], be one of ["proxy"], be one of ["nativeMessaging"], be one of ["theme"], or match the pattern /^experiments(\.\w+)+$/], or must either [be one of ["<all_urls>"], match the pattern /^(https?|wss?|file|ftp|\*):\/\/(\*|\*\.[^*/]+|[^*/]+)\/.*$/, or match the pattern /^file:\/\/\/.*$/]
1516983623812   addons.webextension.<unknown>   WARN    Loading extension 'null': Reading manifest: Error processing oauth2: An unexpected property was found in the WebExtension manifest.
1516983623812   addons.webextension.<unknown>   WARN    Loading extension 'null': Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
1516983623816   addons.xpi  WARN    Please specify whether you want browser_style or not in your options_ui options.
1516983623829   addons.xpi  WARN    Add-on {487609b5-5ca6-4c62-8523-11f3e1db851c} is not correctly signed.
1516983623830   addons.xpi  WARN    Add-on {487609b5-5ca6-4c62-8523-11f3e1db851c} is not correctly signed.
1516983623830   addons.xpi  WARN    Invalid XPI: signature verification failed

完全希望有一种解决方案,可以在不通过临时方法安装的情况下安装扩展.

Hope fully there is a solution that accomodates intalling the extension without installing through the temporary method.

推荐答案

  • 在浏览器控制台(不是Web控制台)中查找与您加载的插件相关的错误.
  • 您是否尝试过使用about:debugging?
  • 在Firefox Nightly中,可以通过将about:config中的xpinstall.signatures.required设置为false来禁用签名.在其他版本上,出于安全原因,这无效.
    • Look in the Browser Console (not Web Console) for errors related to the addon you have loaded.
    • Have you tried using about:debugging?
    • In Firefox Nightly, you can disable the signing by setting xpinstall.signatures.required to false in about:config. On other builds this has no effect for security reasons.
    • 这篇关于加载解压后的扩展程序不适用于Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆