Skip to content

Instantly share code, notes, and snippets.

@nickdima
Created February 9, 2012 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickdima/1779508 to your computer and use it in GitHub Desktop.
Save nickdima/1779508 to your computer and use it in GitHub Desktop.
Temp
javascript: function setCookie(c_name,value,exdays){var exdate=new Date();exdate.setDate(exdate.getDate()+exdays);var c_value=escape(value)+((exdays==null)?"":"; expires="+exdate.toUTCString());document.cookie=c_name+"="+c_value}setCookie('x-mxm-backend','i-1aa4f477',1);setCookie('x-mxm-bypass-webcache','1',1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment