Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function disableselect(e) {
- return false;
- }
- function reEnable() {
- return true;
- }
- document.onselectstart = new Function("return false");
- if (window.sidebar) {
- document.onmousedown = disableselect;
- document.onclick = reEnable;
- }
Advertisement
Add Comment
Please, Sign In to add comment