gpt4 book ai didi

firefox - 升级到 Mozilla Firefox 20 和 Selenium IDE 2.0.0 - user-extensions.js 的路径已更改?

转载 作者:行者123 更新时间:2023-12-04 04:59:18 25 4
gpt4 key购买 nike

我最近升级到firefox 20,并将selenium IDE升级到2.0.0

我有一个自定义的“user-extensions.js”文件,我通常放在这里:
C:\Users\skyn\AppData\Roaming\Mozilla\Firefox\Profiles\1dj9c5sr.default\extensions{a6fd85ed-e919-4a43-a5af-8da18bda539f}\chrome\content\selenium-core\scripts

直到现在,在 Firefox 20 中,目录结构发生了明显的变化。
这是存在的路径:
C:\Users\skyn\AppData\Roaming\Mozilla\Firefox\Profiles\ug1917fp.default\extensions

然后不是路径中的下一个目录,而是一个 xpi 文件(同名):
{a6fd85ed-e919-4a43-a5af-8da18bda539f}.xpi

目录及其中的所有内容发生了什么变化?

我不能说我理解 Mozilla 组织数据的方式。有没有正确安装?

最佳答案

这是新版 Firefox 的问题。它不会自动扩展 .XPI 文件。

看看https://developer.mozilla.org/en-US/docs/Extension_Packaging

Starting in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1), XPI files are no longer unpacked when extensions are installed. Instead, the XPI itself is placed in the extensions directory, and files are loaded directly out of the package.



再往下说:

A customized application can include add-ons (including extensions and themes) by placing the unpacked (that is, not the XPI files, but the packages' contents) in the <appdir>/distribution/bundles directory. The directory containing the add-on must be named the same as the ID of the add-on or theme. Add-ons packaged in this way will not be visible to the user.

关于firefox - 升级到 Mozilla Firefox 20 和 Selenium IDE 2.0.0 - user-extensions.js 的路径已更改?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16347709/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com