Navigation
  • Home
  • About Us
  • Partners
  • Link To Us
  • Contributors
  • Advertise
  • Search
  • Contact Us
Resources
  • Graphics Center
  • Webmaster Center
  • Webhosting Center
  • Students' Center
Sponsors
  • Geek Valley
  • Super Stills
Google Ad
 

Disable Highlighting
This handy code will help fend against people stealing your content. Simply use this code and people won't be able to highlight your text. Thanks to Javascript you can just copy and paste the below code between the <head> tags in your HTML document.

<SCRIPT
LANGUAGE="Javascript"> document.oncontextmenu = disableRightClick;
function
disableRightClick(){ return false; } var message=""; function click(e){
if (navigator.appName == "Netscape" && (e.which == 3 || e.which == 2))
return false; if (document.all){ if (event.button == 3){ return false;
} if (event.button == 2){ return false; }} if (document.layers){ if (e.
which == 3){ return false; }} } if (document.layers){
document.captureEvents(Event.

MOUSEDOWN); document.captureEvents(Event.MOUSEUP);}
document.onmousedown=click;

document.onmouseup=click; </script>

 

 

 

 

All Rights Reserved. - Terms of Use - Privacy Policy

© Copyright 2004 AheadOn Resources™ by DWC Network.