;
  for(var i=0; i<cookies.length; i++) {    cookie = cookies[i].split('=');    if(cookie[0].replace(/^\s+|\s+$/g, ''== name) {      return (cookie.length <= 1? "" : unescape(cookie[1].replace(/^\s+|\s+$/g, ''));    }  }  return null;}

function DelCookie(name, path, domain) {  document.cookie = name + "="    + (path ? ";path=" + path : "")    + (domain ? ";domain=" + domain : "")    + ";expires=Thu, 01-Jan-1970 00:00:01 GMT";}

相关文章:

  • 2021-10-24
  • 2021-12-04
  • 2021-12-21
  • 2021-05-26
  • 2021-12-25
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2021-10-25
相关资源
相似解决方案