Chrome扩展程序更新通知 [英] Chrome extension update notification

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

问题描述

如何在Chrome扩展程序自动更新时显示通知?
我的要求是自动更新chrome扩展后显示一个弹出窗口。

How to show notification when chrome extension updates automatically? My requirement is to show a popup after update the chrome extension automatically.

推荐答案

有一个 chrome.runtime.onInstalled 事件您可以在安装或更新扩展程序时收听此类消息(所以说新的打包应用文档),但它现在只能在开发渠道中使用。

There is a chrome.runtime.onInstalled event you can listen to that fires when the extension is installed or updated (so says the new packaged app documentation), but it's only available in the dev channel right now.

这篇关于Chrome扩展程序更新通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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