Skip to content

Instantly share code, notes, and snippets.

@jsguy
Created March 24, 2014 00:26
Show Gist options
  • Save jsguy/9732087 to your computer and use it in GitHub Desktop.
Save jsguy/9732087 to your computer and use it in GitHub Desktop.
SMH fix
javascript:void((function(){$('#subscription-overlay').remove();$('body').css({overflow: 'auto'}); localStorage.clear(); var a,b,c,e,f;f=0;a=document.cookie.split("; ");for(e=0;e<a.length&&a[e];e++){f++;for(b="."+location.host;b;b=b.replace(/^(?:%5C.|[^%5C.]+)/,"")){for(c=location.pathname;c;c=c.replace(/.$/,"")){document.cookie=(a[e]+"; domain="+b+"; path="+c+"; expires="+new Date((new Date()).getTime()-1e11).toGMTString());}}};document.location.reload()})())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment