Translation is necessary?
Best practices when using event pages
If you need to keep runtime state in memory throughout a browser session, use the storage API
or IndexedDB. Since the event page does not stay loaded for long, you can no longer rely on global variables for runtime state.