首页 文章

加载解压缩的扩展程序对Firefox不起作用

提问于
浏览
0

"This addon could not be installed because it appears to be corrupt"

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

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

My Goal :我正在编辑扩展以满足我的需求,但它似乎不起作用 .

我认为Firefox有一些签约或类似的东西,我怎么能禁用它或编辑扩展以满足要求 .

我正在跑步 58.0 (64-bit)

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

Both edited.xpi和original.xpi有错误 . (但 edited.xpi 通过 load temporary extension 加载,但不会为拖动方法加载 . )

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.

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

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

希望完全有一个解决方案,可以安装扩展而无需通过临时方法安装 .

1 回答

  • 1
    • 在浏览器控制台(而非Web控制台)中查找与已加载的插件相关的错误 .

    • 您是否尝试过使用about:debugging?

    • 在Firefox Nightly中,您可以通过在about:config中将xpinstall.signatures.required设置为false来禁用签名 . 在其他构建中,出于安全原因,这没有任何影响 .

相关问题