S
S
sbh2020-07-01 09:32:04
Google Chrome
sbh, 2020-07-01 09:32:04

How to use USERID in an extension without always referring to Storage?

The extension, when requesting the server API, passes an impersonal user ID, which is either generated if it is not in storage or read from there.
Is there some way to use USEID without having to read it all the time from STORAGE?
The extension sends requests when a new site is opened.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
acwartz, 2020-09-14
@sbh

And what kind of storage are we talking about? the extension has its own storage, you don’t like it, well, put a variable in the background and pull the data from there when necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question