javascript delete cookie
snippet in javascript

javascript delete cookie

user1516

function deleteCookie(name) {
  document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}

js delete cookie by name

user9572

var removing = browser.cookies.remove(
  details               // object
)