Hacker News new | ask | show | jobs
by londons_explore 1372 days ago
Is there really nowhere else to store Auth information in a synchronous datastore?

For example it looks like you could use a lambda function with the Auth info pre-bound...

1 comments

One big thing about MV3 is that background script, persistent or not, is no more. You have a web worker that can start afresh at any point, outside your control. So variables assigned asynchronously outside your event handler (which must be registered synchronously at the top level) scope don’t work reliably.