And here's another question:
"Because chrome.cookies doesn't support partitioning, all of its methods read and write cookies from all partitions. The cookies.set() method stores cookies in the default partition."
"partitionKey - The partition key for reading or modifying cookies with the Partitioned attribute."
That is, partitionKey is in the documentation.
I don't understand this phrase then "chrome.cookies doesn't support partitioning"
Please explain how to understand this?
Do I need get all cookies for url (included all partitionKey) and then save one, can I do this via
chrome.cookies.getAll({ url: url }, ...)
chrome.cookies.set({ ...,
partitionKey: cookie.partitionKey })
?
среда, 7 февраля 2024 г. в 12:07:46 UTC+3, Pavel Aronovich: