Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="JavaScript1.2">
- //credits to http://www.dynamicdrive.com
- function disableselect(e){
- return false
- }
- function reEnable(){
- return true
- }
- //if IE4+
- document.onselectstart=new Function ("return false")
- //if NS6
- if (window.sidebar){
- document.onmousedown=disableselect
- document.onclick=reEnable
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement