我每次都需要在启用扩展的新配置文件目录中运行 Firefox。我做的是以下内容:
我的命令行如下所示:
firefox -no-remote -profile /tmp/profile.123 -url http://www.google.com
问题是我的扩展程序开始被禁用,我被迫手动启用它并重新启动 Firefox。是否可以首先启用它?
谢谢!
我发现的解决方法:
在新创建的配置文件文件夹中创建 extensions.sqlite 数据库文件。该文件必须在“插件”表下包含我的扩展条目。
firefox firefox-extensions
firefox ×1
firefox-extensions ×1