I want to show a changelog to the user when a chrome extension is updated. I read the documentation about onInstalled
and onUpdated
but I'm not sure how to proceed, do I need to create a page inside the extension and load it using these two events or there is another way to chieve this?
Asked
Active
Viewed 47 times
0

ki.ko
- 55
- 1
- 7
-
`chrome.runtime.onInstalled.addListener(details=>{ if (details.reason == 'update') chrome.tabs.create({url:'mychangelog.html'});});` – Iván Nokonoko Jun 30 '20 at 06:16
-
@IvánNokonoko thanks for the suggestion. – ki.ko Jun 30 '20 at 07:23