Quick answer: to enable the plugin in Ubuntu's of Firefox, copy your npbasicplugin.so to /usr/lib/mozilla/plugins/.
The plugins path for various UNIX browsers has varied a lot.
/usr/lib/netscape/plugins/
/usr/lib/mozilla/plugins/
/usr/lib/mozilla-firefox/plugins/
/usr/lib/nsbrowser/plugins/
/opt/netscape/plugins/
Those are only some of the locations that modern browsers on modern distributions seem to use. Luckily, a distribution usually configures all the browsers they ship to look in a common path, so that you only need to install a plugin to one directory to enable it across all browsers on a system. (IIRC BSD ports is an exception, but anyhow...)
发布评论
评论(1)
快速回答:要在 Ubuntu 或 Firefox 中启用该插件,请将
npbasicplugin.so
复制到/usr/lib/mozilla/plugins/
。各种 UNIX 浏览器的插件路径差异很大。
/usr/lib/netscape/plugins/
/usr/lib/mozilla/plugins/
/usr/lib/mozilla-firefox/plugins/
/usr/lib/nsbrowser/plugins/
/opt/netscape/plugins/
这些只是现代发行版上的现代浏览器似乎使用的一些位置。幸运的是,发行版通常将它们附带的所有浏览器配置为在公共路径中查找,因此您只需将插件安装到一个目录即可在系统上的所有浏览器中启用它。 (IIRC BSD 端口是一个例外,但无论如何......)
Quick answer: to enable the plugin in Ubuntu's of Firefox, copy your
npbasicplugin.so
to/usr/lib/mozilla/plugins/
.The plugins path for various UNIX browsers has varied a lot.
/usr/lib/netscape/plugins/
/usr/lib/mozilla/plugins/
/usr/lib/mozilla-firefox/plugins/
/usr/lib/nsbrowser/plugins/
/opt/netscape/plugins/
Those are only some of the locations that modern browsers on modern distributions seem to use. Luckily, a distribution usually configures all the browsers they ship to look in a common path, so that you only need to install a plugin to one directory to enable it across all browsers on a system. (IIRC BSD ports is an exception, but anyhow...)