Dynadot โ€” .com Transfer

Java question RE: Mac computers

SpaceshipSpaceship
Watch
Impact
43
I need to protect some images on a web site to keep viewers from easily saving and using my copyrighted & trademarked images.

I have a java code to prevent "Right-Click" and "save as" for PC users, but it doesn't work when a Mac user views my image. Mac users can still "save as" on any of my images. Is there a code to prevent Mac users from saving my images?

THANK YOU!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
westblock said:
I need to protect some images on a web site to keep viewers from easily saving and using my copyrighted & trademarked images.

I have a java code to prevent "Right-Click" and "save as" for PC users, but it doesn't work when a Mac user views my image. Mac users can still "save as" on any of my images. Is there a code to prevent Mac users from saving my images?

THANK YOU!
Usually this scripts browser based, not OS. Turn off, java script in browser, and it will not work.
Code:
<script language=JavaScript>
<!--
var message="PROTECTED BY COPYRIGHT!";

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>
 
0
•••
Thanks webdome. :tu:

I'll see how this works.
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back