madmurphy / cookies.js

Simple cookie framework with full Unicode support
GNU General Public License v3.0
265 stars 54 forks source link

Add a way to get the raw value of the cookie #24

Open kirly-af opened 5 years ago

kirly-af commented 5 years ago

Hi,

I have a case were I use getItem on a cookie that is not compatible with decodeURIComponent().

I should be able to pass a flag to getItem and setItem to avoid the URIComponent conversion.

madmurphy commented 5 years ago

@kirly-af

Could you post some code?