Firefox 的插件目录在哪里?

Ric*_*ard 46 firefox

我知道有很多安装 Firefox 插件的“正确”方法。但是,我想知道用于链接共享对象 ( .so) 文件的文件夹在哪里,例如libnpjp2.solibflashplayer.so以便我可以以“老式”方式安装插件。在 Firefox 21 中,我会将它放入~/.mozilla/firefox/*[profile name].default/browser/plugins但该文件夹不再存在。随着 Firefox 的变化,它不断地跳来跳去。在about:plugins我仍然看到我会放在那里的所有插件。

谁能告诉我文件夹在哪里?我已经检查了/usr/lib/firefox和 中的文件夹/usr/lib/mozilla

mni*_*ess 52

请阅读本答案末尾有关 Firefox 52 更改的更新。

根据 Firefox developer documentation plugins live here:

  • MOZ_PLUGIN_PATH环境变量指向的目录
  • ~/.mozilla/plugins
  • /usr/lib/mozilla/plugins(在非 Ubuntu 64 位系统上,/usr/lib64/mozilla/plugins可能会使用)
  • 工具包中的插件
  • [Profile directory]/plugins, 其中[Profile directory]是用户配置文件目录

Firefox 更新 >=52

从 Firefox 52 开始,已取消对 NPAPI 插件的支持。位于上述目录之一中的所有插件都将被忽略,但 Adob​​e Flash 除外。

如果您使用flashplugin-installer软件包安装 Flash ,它会通过符号链接加载/usr/lib/mozilla/plugins,最终链接到/usr/lib/flashplugin-installer/libflashplayer.so.

  • 我的是 64 位系统,但我发现它位于`/usr/lib/mozilla/plugins`。此外,查看“about:plugins”选项卡可能会提供提示也是一个好主意。 (12认同)
  • Fredrick Gauss 的评论也适用于 14.04。 (2认同)

Eri*_*kas 12

我使用的是 KDE 32 位 14.04 版本。Firefox 已经安装。

用户 Richard 通过告诉我们正确的路径获得了负面声誉:

/usr/lib/firefox-addons/plugins
Run Code Online (Sandbox Code Playgroud)

如果您是适当的 linux 用户,那么以 root 用户身份将 libflashplayer.so 文件移动到此目录是没有问题的!

Youtube 在 dat 后工作!