How set cookies in dev tools in Google Chrome 98 version?

Google ChromeCookiesGoogle Chrome-Devtools

Google Chrome Problem Overview


after update google chrome up to 98 version, I can't set cookiesenter image description here

it looks like a red stripe and after the refresh, it disappears. Even you fill all fields, it disappears.

Maybe any know how it disables the feature? This feature describes in their blog, but I can't find how to fix it

Google Chrome Solutions


Solution 1 - Google Chrome

Based on the comment in this diff - https://chromium.googlesource.com/devtools/devtools-frontend/+/20ed4f2bd282537f404af9d45df1333d5aeb21f5%5E%21/#F0, I felt this has something to do with Partitioned cookies. So I opened chrome://flags and set the value of "Partitioned Cookies" to Enabled" and relaunched the browser. After that the red row did not appear and I am able to set the cookies like before.

Solution 2 - Google Chrome

A workaround we are using for now is using the console to run document.cookie='key=value'.

It's not nearly as robust but it gets the cookie in and we can edit the other fields afterwards.

Solution 3 - Google Chrome

Using a plugin like 'EditThisCookie' also works for now.

screen shot of cookie editor

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAlexei DelezhovView Question on Stackoverflow
Solution 1 - Google ChromeVenky ViswanathView Answer on Stackoverflow
Solution 2 - Google ChromeRangoricView Answer on Stackoverflow
Solution 3 - Google ChromeKody SmithView Answer on Stackoverflow