{mtitle}js函数{/mtitle}
//清除所有cookie函数
function clearAllCookie() {
ar keys = document.cookie.match(/[^ =;]+(?=\=)/g);
if(keys) {
for(var i = keys.length; i--;)
document.cookie = keys[i] + '=0;expires=' + new Date(0).toUTCString()
}
}
评论 (0)