cookie

var share_cookie = '';
var arr,reg = new RegExp("(^| )"+cookie_name+"=([^;]*)(;|$)");
if(arr = document.cookie.match(reg)){
_cookie = unescape(arr[2]);
}

posted @ 2020-05-07 14:50  424174余  阅读(119)  评论(0编辑  收藏  举报