0
我正在做一個Chrome擴展提醒,我想在預約前通知具體的時間,我不希望用戶保持打開所有時間的窗口,我從here 。在後臺播放Chrome擴展名
我添加BACKGROUND_PAGE和背景許可的manifest.json這樣
{
"name": "Alert extention",
"version": "2.0",
"description": "Personal alert.",
"background_page": "Alert.html",
"browser_action": {
"default_icon": "img/clock.png",
"popup": "Alert.html"
},
"permissions": [
"notifications","background"
]
}
但同時延長關閉則不進行通知。我爲第一次通知的擴展重新加載,而其他的則沒有。
What should make ??? any suggestion??