I have the eventpage.js script where I would like to get a data form a service and store it to the LocalStorage. After this, I would like to pull a data to the popup.html page which shows after I click on an extension icon. But, I found the issue that the EventPage can "live" only when the popup.html page is opened. How to refresh a data in the EventPage after some timeout? Do I need to use Alarms in my Google Chrome Extension? If possible, please show a sample.
Thanks in advance.