var cookieDate= new Date(); cookieDate.setTime(cookieDate.getTime() - 1); document.cookie = "имяКуки" + "=; expires=" + cookieDate.toGMTString();