简体   繁体   English

Chrome扩展程序安装弹出窗口

[英]Chrome Extension installation popup

When an extension is installed in chrome, a popup comes up which says [Extension_name] has been added to chrome. 在chrome中安装扩展程序后,会弹出一个对话框,提示[Extension_name]已添加到chrome中。

This is the default popup having extension icon and some message. 这是带有扩展名图标和一些消息的默认弹出窗口。 I want to modify this popup data. 我想修改此弹出数据。 is there any api which we can use to modify it. 有没有可以用来修改它的API。

没有此类API,但是您可以使用onInstalled事件打开带有您自己描述的新选项卡。

In addition to Deliaz's answer, you can create either a browser action or a page action popup. 除了Deliaz的答案外,您还可以创建浏览器操作页面操作弹出窗口。 You can change popup html dynamically to make it look completely different depending on the situation but you can't open it programmatically ( desktop notifications could be used for alerts). 您可以根据情况动态更改弹出html ,以使其看起来完全不同,但是您不能以编程方式打开它( 桌面通知可用于警报)。

Here's another reference which might also help. 这是另一个参考 ,可能也有帮助。

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

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