安装Chrome扩展作为外部扩展 [英] Install chrome extension as external extensions

查看:137
本文介绍了安装Chrome扩展作为外部扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以手动方式安装Chrome扩展程序。所以我按照这个页面 https://developer.chrome.com/extensions/external_extensions 。我用注册表安装chrome扩展。一切都很好。但问题是:扩展不能记住任何事情。每次我关闭并打开chrome时,它都会再次安装(扩展程序显示欢迎页面),并且它从上次会话中保存的所有内容都已消失。这个问题不存在,如果我作为一个正常的方式安装它。所以有无论如何解决它?

I need install chrome extension as a manual way. So I follow this page https://developer.chrome.com/extensions/external_extensions. I install chrome extension with registry. Everything was fine. But the problem is: that extension cannot "remember anything". Each time I close and open chrome, it was installed again (extension show a welcome page) and everything it save from last session has gone. That problem does not exists if I install it as a normal way. So there are anyway to solve it?

推荐答案


  • 导航到chrome:// extensions /在网址栏中...

  • 点击右上角的开发者模式。

  • 点击Pack extension ... / li>
  • 在扩展根目录字段中,选择包含所有扩展程序文件的文件夹
  • 私人密钥文件空白...

  • 单击确定

    • Navigate to "chrome://extensions/" in the url bar...
    • Click "Developer mode" in the top right hand corner.
    • Click "Pack extension..."
    • In the "Extension root directory" field, choose the folder that contains all your extension files.
    • Leave the "Private key file" blank...
    • Click OK
    • 插入.crx文件,无论您的父级扩展目录位于您的计算机上,还会有一个.pem文件,这个文件实际上并不相关,它只是保存您的私钥,以防您不更新此相同的扩展名这种情况下你会用私钥文件打包扩展名...

      Your extension will now be packed into a .crx file wherever your parent extension directory was on your computer... there will also be a .pem file, which is irrelevant really, it just holds your private key in case you won't to update this same extension, in which case you would pack the extension with the private key file...

      在chrome中打开.crx ...它会给你一条消息,说明扩展和主题可能伤害你的电脑...点击确定,此消息只显示,因为前紧张感并未经过谷歌在扩展库中的测试......您的扩展程序将会安装并记住您的所有数据。

      Open the .crx in chrome... It will give you a message saying extensions and themes may harm your computer... click OK, this message only shows up because the extension has not been tested by google in the extension gallery... Your extension will install and will remember all your data

      这篇关于安装Chrome扩展作为外部扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆