jojuniori
3/5/2017 - 9:06 AM

JS操作Cookie.js

// set cookie
document.cookie = "a=1";
// load cookie
document.cookie.match(/a=(.*?);/)[1]);