问题描述

我知道有extensive, “proper” methods for installing Firefox plugins。但是,我想知道文件夹在哪里用于链接shared-object(.so)文件,例如libnpjp2.so和libflashplayer.so,以便我可以安装”old-fashioned”方式的插件。在Firefox 21中,我会将它放在~/.mozilla/firefox/*[profile name].default/browser/plugins中,但该文件夹不再存在。随着Firefox的变化,它不断跳跃。在about:plugins中,我仍然可以看到我放在那里的所有插件。

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

最佳解决方案

Please read the update at the end of this answer regarding changes in Firefox 52.

根据Firefox开发人员documentation插件,请点击此处:

MOZ_PLUGIN_PATH环境变量指向的目录

~/.mozilla/plugins

/usr/lib/mozilla/plugins(在non-Ubuntu 64位系统上,可以使用/usr/lib64/mozilla/plugins代替)

[Profile directory]/plugins,其中[Profile directory]是用户个人资料目录

Firefox更新> = 52

截至Firefox 52,对NPAPI插件的支持已被取消。除了Adobe Flash之外,所有插入上述目录之一的插件都会被忽略。

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

次佳解决方案

我在KDE 32bit 14.04版本。 Firefox已经安装。

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

/usr/lib/firefox-addons/plugins

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

Youtube在dat之后工作!

第三种解决方案

用户应以root用户身份将插件放在/usr/lib/firefox-addons/plugins中。

参考资料

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐