Preventing theft of pages...

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Lyte

Pros Against PrejudiceEstablished Member
Impact
24
Howdy!

Is there a means by which one can prevent people from stealing your photos/html. Ya know, maybe prevent them from doing a VIEW/SOURCE???

I know there's a function that prevents someone from doing a right click/copy... how do I make that happen??

Thanks!

Lyte
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Here is code for No Right Click
works on Netscape and IE
Code:
<script language=JavaScript> 
<!-- 

//Disable right click script III- By Renigade ([email protected]) 
//For full source code, visit [url]http://www.dynamicdrive.com[/url] 

var message=""; 
/////////////////////////////////// 
function clickIE() {if (document.all) {(message);return false;}} 
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) { 
if (e.which==2||e.which==3) {(message);return false;}}} 
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} 
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} 

document.oncontextmenu=new Function("return false") 
// --> 
</script>
Hope That Help You...
 
0
•••
No right click its fine , but you can also try this:

Disable copy and paste function

<script language="JavaScript1.1">
// distributed by http://www,hypergurl.com
<!-- var debug = true;
function right(e)
{
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
alert('This Page is fully protected!');
return false;
}

return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
//--></script>

(message its customizable)

After installed add this inside your body tag

<body bgcolor="xxxxxx" ondragstart="return false" onselectstart="return false"</body>


Hope it’s useful for you.
 
0
•••
As much as you try to stop people from stealing your pages, its just a waste of time because its still going to happen. You'd be better of just putting a copyright thing on the bottom. Then if you find someone who has stolen your stuff, SUE THEM! :lol:
 
0
•••
I think I'll do all of the above... script 'n' sue! :lol: Of course, I'll have to actually make money off these sites in order to have money to sue! :p

Regarding these scripts... where do I have to place them??? I mean, right after the <head> or the <html> or the <body> ??? :-/

Thanks!

Lyte
 
0
•••
You can put all of the right click/copy/paste protection you want but you can't stop someone from file->save as.. or just doing a wget on a linux machine.
 
0
•••
That is pretty cool they even have a website as well to check if your site has been copied in addition if you havent done this already. I am not sure what the website is but you can search here and find it if you like.
 
0
•••
hotrod12 said:
That is pretty cool they even have a website as well to check if your site has been copied in addition ...

Oh yes! I think someone actually posted the link here on Name Pros a short while back.

Thanks for all the feedback guys 'n' gals! :blink:

Lyte
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back