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
猜你喜欢
  • 2022-12-23
  • 2021-10-28
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案