gpt4 book ai didi

google-chrome - chrome 删除了我的扩展

转载 作者:行者123 更新时间:2023-12-02 03:14:01 26 4
gpt4 key购买 nike

我正在开发一个使用 chrome 的 native 消息传递的扩展。在我的扩展程序中设置键值(用于 native 消息传递)后,chrome 变得异常并在关闭 chrome 后删除我的文件。关闭同步扩展以某种方式使我的文件保持原状,但每次重新启动时它仍会从自身中删除扩展。我不知道这是我偶然发现的一些奇怪的错误,还是与无法安装非网上商店扩展有关

最佳答案

问题

正如您可以阅读 google forums (productforums.google.com) ,发布于 04.09.2015,新版本的 Google Chrome 将自动禁用尚未从 Chrome Web Store 安装的扩展程序。无法更改此行为。

Some extensions come bundled with others, which causes Chrome to ask whether you want to install them (or not). However, bad actors have abused this mechanism, bypassing the prompt to silently install malicious extensions that can override browser settings and alter the user experience in undesired ways.



...

Since these malicious extensions are not hosted on the Chrome Web Store, it’s difficult to limit the damage they can cause. This is why we announced in November that as part of our continuing security efforts, all extensions for Windows users must be hosted in the Chrome Web Store.



解决方案

1. 使用不同的浏览器。例如,Opera(版本 > 15)和 SRWare Iron 浏览器扩展 100% 兼容,并且不会在每次浏览器启动时禁用。 Google Chrome 中的所有工具都可以在这些浏览器中使用。

2. 打包扩展(想法取自 this url )。打开扩展页面,激活“开发者模式”;点击“加载解压后的扩展...”;在您的目录树中搜索您解压扩展程序的目录,然后单击“确定”;缺点:Chrome 每次启动时都会提醒您禁用扩展程序

关于google-chrome - chrome 删除了我的扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38134446/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com