kairi003 / Get-cookies.txt-LOCALLY

Get cookies.txt, NEVER send information outside.
MIT License
320 stars 30 forks source link

Allow partion key cookies #58

Closed RainerGevers closed 1 month ago

RainerGevers commented 2 months ago

From this conversation it seems that we need to add a partitionkey field to the cookies.GetAll method: https://groups.google.com/a/chromium.org/g/chromium-extensions/c/Nh90FWSCong/m/MXzxU30fAAAJ

Using the details for how a partitionkey should look https://developer.chrome.com/docs/extensions/reference/api/cookies#type-CookiePartitionKey

And the general GetAll() api https://developer.chrome.com/docs/extensions/reference/api/cookies#method-getAll

I have updated the code that needs to be updated. I think export all might not work with partitioned keys. I think you can only get partioned keys for one site at a time so I am not sure if extending this functionality will extend there.

Closes #57