secure photos

  • Thread starter Thread starter Guest
  • Start date Start date
Easy to do, but won't stop people from downloading your photos, only way to
keep that from happening is to not put them up to begin with.
 
Look at many previous postings about this ... even today!
ETC
 
Enter this script into your page:

<script language=JavaScript>
<!--

//Disable right mouse click Script

var message="Your Copyright Text Here.";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>
</td></tr></table>

....that will stop all right-clicking on your page.
 
On second thought, DON'T.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 
...that will stop all right-clicking on your page.

Well, no it won't.

For one, I don't think there is such a thing as a roght-click on a Mac.
Second, FireFox has an option to ignore such amatuerish attempts.

Bob Lehmann
 
You will have to take away their keyboards, too. Don't need a mouse
to grab images from websites.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top