Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

How to script copyrights?

joshua
Posts: 46
Joined: 25 Sep 06
Trust:

How to script copyrights?

Hello everyone,

How do you make it where when someone tries to copy your information off of your site, a box popluates letting them know it is copyrighted?
  • 0
PremiumMember
chatyak86
Posts: 1369
Joined: 17 Jun 06
Trust:
You mean preventing text from being highlighted? Or disabling a right click? If they want your code they can always just view the source code of the page.... you can't stop that.

Adrian,
  • 0
joshua
Posts: 46
Joined: 25 Sep 06
Trust:
Yes how do I diasble them from copying it of my main pages. I guess one more deterent can't hurt.
  • 0
PremiumMember
chatyak86
Posts: 1369
Joined: 17 Jun 06
Trust:
Put <span onMouseDown="return false"> right after your <body> tag.



Then put </span> before the end body tag (</body>)



Adrian,
  • 0
joshua
Posts: 46
Joined: 25 Sep 06
Trust:
Thanks for the information.
  • 0
cron