Cookies don't save in editor

I’m trying to save some cookies on the clientside using document.cookie but for some reason, I won’t add it in the editor. It works if I open the webpage by itself but does not while in the editor.

Repl

Youtube To MP3 - Replit

Hey @Errorbot1122 welcome to the forums.

Not sure on this but its probably something to do with the editor needing cookies and doesn’t want the program to interfere with it. So just open it up in a new tab and do that. You can always split screen.

And for some reason there is no doc on this to my knowledge for info.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.