JS获取cookie

var cookies=document.cookie;
原文地址:https://www.cnblogs.com/shcolo/p/3615285.html