Use Storage by tab #697
Unanswered
Jeromearsene
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Do you know that tab ids are not persistent? They can be changed. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This should be user-space implementation @Jeromearsene , you can do it in the bgsw instead of the CS, and you need to define your "source of truth," @tbhaxor is correct, the tabid is indeterministic. You will want to use some kind of record based on href or something like that. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do you envision this feature/change to look/work like?
It will be nice to have possibility to save datas by tab.
Currently I've not found how to preserve state infos of Content UI by tab.
By example, if I want preserve my Content UI sidebar width by tab, I must use storage with something like this:
Moreover, it seems necessary to retrieve tab id by message with background, like this:
This is not really practice. Maybe an other solution exist but I didn't find any 😅
What is the purpose of this change/feature? Why?
Ideally, add possibility to save in storage by tab.
(OPTIONAL) Example implementations
I would like use a parameter when I save my datas to use by tab, like this:
(OPTIONAL) Contribution
Verify canary release
plasmo
canary releaseCode of Conduct
Beta Was this translation helpful? Give feedback.
All reactions