First, use the Google browser
1.1, modify ookie
Method a: directly modified with the developer tools;
Operation is shown:
Reference: check for and remove Cookie · Chrome Developer Tools Chinese documents http://www.css88.com/doc/chrome-devtools/manage-data/cookies/
1.2, adding Cookie
Reference: add or modify a cookie in Chrome browser | CCIE engineers Community
https://ccie.lol/knowledge-base/chrome-set-cookies/
1.2.1 View cookie current page:
Console input:
document.cookie
1.2.2 Modify Cookie retransmission method is defined:
function setCookie(cookieName,value,expiresTime,path){ expiresTime = expiresTime || "Thu, 01-Jan-2030 00:00:01 GMT"; path = path || "/"; document.cookie=cookieName+ "=" +encodeURIComponent(value)+ "; expires="+ expiresTime+ "; path="+path; }
1.2.3 Usage modify Cookie:
setCookie('test', 'hello');
Two: Use Google plug-in:
EditThisCookie - Chrome Web Store
https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg
With particular reference to instructions it can be viewed directly via plug-ins, modifications, and new cookie, very convenient.