Skip to content

Instantly share code, notes, and snippets.

@eallegretta
Created February 21, 2015 01:33
Show Gist options
  • Save eallegretta/041c66beadc6b0355a34 to your computer and use it in GitHub Desktop.
Save eallegretta/041c66beadc6b0355a34 to your computer and use it in GitHub Desktop.
javascript: if(location.href.indexOf('clarin') > -1) { $("#colorbox").remove(); $("#cboxOverlay").remove(); } else { document.getElementsByClassName('modal-scrollable')[0].remove(); document.body.classList.remove('modal-open'); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment