SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use the Cookies API and do:
browser.cookies.set({ url: 'example.com', name: 'HelloWorld', value: 'HelloWorld', expirationDate: myDate }
MDN Set() Method Documentation
Set()