Skip to content

Instantly share code, notes, and snippets.

@alkema
Created September 8, 2015 15:18
Show Gist options
  • Save alkema/dce1b1db939de0c04ea7 to your computer and use it in GitHub Desktop.
Save alkema/dce1b1db939de0c04ea7 to your computer and use it in GitHub Desktop.
if(window.location.pathname == '/siteplan.html') {
} else {
check();
setInterval(check, 200);
window.oncontextmenu = function(){return false};
window.ondragstart = function(){return false};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment