Skip to content

Instantly share code, notes, and snippets.

@jaxxreal
Created November 4, 2014 11:21
Show Gist options
  • Save jaxxreal/5162f2275ee3e48fecea to your computer and use it in GitHub Desktop.
Save jaxxreal/5162f2275ee3e48fecea to your computer and use it in GitHub Desktop.
function removeCookie(name) {
document.cookie = document.cookie.split('; ').filter(function(v, i) {
return v.indexOf(name) !== 0;
}).join('; ');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment