Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Java question RE: Mac computers

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
Thanks webdome. :tu:

I'll see how this works.
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back