Cookies with Chrome extension
I want to create a cookie to be used for both my plugin and my contentPage, but I haven't found any way to do this. (I know how to create a cookie, but it doesn't appear in the bookmark's cookie list).
any ideas?
+3
yehonatan
source
to share
1 answer
From the chrome.cookies
API documentation : "To use the API cookies, you must declare a cookie permission in your manifest, along with host permissions for any hosts whose cookies you want to receive."
There are some code snippets in the API docs and a link to some more complete examples.
0
arthurakay
source
to share