简体   繁体   English

在Google Ghrome Ubuntu 14.04上安装自定义插件

[英]Install custom plugin on Google Ghrome Ubuntu 14.04

I've got a problem while trying to install rutoken plugin for Google Chrome v. 40.0.2214.115 (64-bit) on Ubuntu 14.04. 尝试在Ubuntu 14.04上安装Google Chrome v.40.0.2214.115(64位)的rutoken插件时遇到问题。

That's what I try: 这就是我尝试的:

  1. Download plugin from http://www.rutoken.ru/support/download/rutoken-plugin/ and unpack files, so I had librtpkcs11ecp.so, npCryptoPlugin.so files. http://www.rutoken.ru/support/download/rutoken-plugin/下载插件并解压缩文件,所以我有librtpkcs11ecp.so,npCryptoPlugin.so文件。

  2. Create a directory for plugins, in the Google Chrome's installation directory. 在Google Chrome的安装目录中为插件创建目录。

sudo mkdir /opt/google/chrome/plugins

  1. Copy *.so files to the plugins directory. 将* .so文件复制到plugins目录。

Then I've restarted Chrome: 然后我重新启动了Chrome:

google-chrome -–enable-plugins

The problem is that when I run chrome://plugins/ there is no such plugin in a list. 问题是,当我运行chrome://plugins/ ,列表中没有这样的插件。

It seems Java JRE is not more working on Chrome Java JRE似乎不再适用于Chrome

https://askubuntu.com/a/590181 https://askubuntu.com/a/590181

NPAPI support by Chrome Chrome的NPAPI支持

The Java plug-in for web browsers relies on the cross platform plugin architecture NPAPI, which has long been, and currently is, supported by all major web browsers. 用于Web浏览器的Java插件依赖于跨平台插件架构NPAPI,该架构长期以来一直受到所有主要Web浏览器的支持。 Google announced in September 2013 plans to remove NPAPI support from Chrome by "the end of 2014", thus effectively dropping support for Silverlight, Java, Facebook Video and other similar NPAPI based plugins. 谷歌于2013年9月宣布计划在“2014年底”删除Chrome对NPAPI的支持,从而有效地放弃对Silverlight,Java,Facebook Video和其他类似基于NPAPI的插件的支持。 Recently, Google has revised their plans and now state that they plan to completely remove NPAPI by late 2015. As it is unclear if these dates will be further extended or not, we strongly recommend Java users consider alternatives to Chrome as soon as possible. 最近,谷歌已经修改了他们的计划,现在表示他们计划在2015年底之前完全删除NPAPI。由于目前还不清楚这些日期是否会进一步扩展,我们强烈建议Java用户尽快考虑替代Chrome。 Instead, we recommend Firefox, Internet Explorer and Safari as longer-term options. 相反,我们建议使用Firefox,Internet Explorer和Safari作为长期选项。

I installed plugin updated but I face issue at testing time plugin not work properly in Chrome using link http://java.com/en/download/installed8.jsp?detect=jre If you got message "This plug-in is not supported" then follow following steps: In your URL bar, enter: 我安装了插件更新但我在测试时插件问题在Chrome浏览器中无法正常使用链接http://java.com/en/download/installed8.jsp?detect=jre如果您收到消息“此插件不受支持“然后按照以下步骤操作:在您的网址栏中输入:

  1. chrome://flags/#enable-npapi 铬://标志/#使能NPAPI
  2. Click the Enable link for the Enable NPAPI configuration option. 单击“启用NPAPI配置”选项的“启用”链接。
  3. Click the Relaunch button that now appears at the bottom of the configuration page. 单击现在显示在配置页面底部的“重新启动”按钮。

and test it again using http://java.com/en/download/installed8.jsp?detect=jre link. 并使用http://java.com/en/download/installed8.jsp?detect=jre链接再次测试它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM