The problem is resolved: https://issues.chromium.org/issues/361862746
Since chromium version 138.0.6613.0 there is a problem with chrome.cookies.get() and chrome.cookies.getAll()
If cloudflare sets the cookie name: cf_clearance with a Partition Key Site an addon is unable to access this cookie.
Download these two Chrome test versions to Compare 128.0.6612.0 and 128.06.6613.0 with:
npx @puppeteer/browsers install [email protected]
npx @puppeteer/browsers install [email protected]
Clone this repo
Install this addon in Chrome 128.0.6612.0
Click the Addon icon
The open Tab should look like this:
Open the "Website with cloudflare" protection link and solve the cloudflare challenge
Click the Addon icon
Click "Search with getAll() Cookies" button
Now you can see the Cookie with the name cf_clearance
Close Chromium 128.0.6612.0 open 128.0.6613.0
Click the Addon icon
The open Tab should look like this:
Open the "Website with cloudflare" protection link and solve the cloudflare challenge
Click the Addon icon
Click "Search with getAll() Cookies" button
Now you can't see the Cookie with the name cf_clearance
Open the "Website with cloudflare" protection link and solve the cloudflare challenge
Open dev tools -> Application -> Storage -> Cookies -> https://mtlarchive.com
here you can still see the cookie only the addon is unable to get it.