Skip to content

Instantly share code, notes, and snippets.

@ChadyG
Created February 15, 2014 01:41
Show Gist options
  • Save ChadyG/9013204 to your computer and use it in GitHub Desktop.
Save ChadyG/9013204 to your computer and use it in GitHub Desktop.
//if NS6
if (window.sidebar) {
document.onmousedown = disableselect
document.onclick = reEnable
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment