function clearCookie(){ var keys=document.cookie.match(/[^ =;]+(?=\=)/g); if (keys) { for (var i = keys.length; i--;) document.cookie=keys[i]+'=0;expires=' + new Date( 0).toUTCString() } } 相关文章: 2022-12-23 2021-12-28 2022-12-23 2021-06-17 2021-12-04 2021-12-29