NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Java question RE: Mac computers

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 10-27-2004, 02:24 PM THREAD STARTER               #1 (permalink)
Senior Member
 
TLDnetworks's Avatar
Join Date: Sep 2004
Location: Carlsbad, CA
Posts: 2,348
TLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant future
 



Caution Java question RE: Mac computers


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!
__________________
~ ThemeParade.com ~ New WordPress Themes Everyday
TLDnetworks is offline  
Old 10-27-2004, 08:40 PM   #2 (permalink)
NamePros Member
 
webdome's Avatar
Join Date: Sep 2004
Location: Vancouver not BC, Washington not DC
Posts: 188
webdome is an unknown quantity at this point
 



Originally Posted by westblock
I need to protect some images on a web site to keep viewers from easily saving and using my copyrighted & trademarked images.
????: NamePros.com http://www.namepros.com/programming/53301-java-question-re-mac-computers.html

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>
webdome is offline  
Old 10-28-2004, 07:42 AM THREAD STARTER               #3 (permalink)
Senior Member
 
TLDnetworks's Avatar
Join Date: Sep 2004
Location: Carlsbad, CA
Posts: 2,348
TLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant futureTLDnetworks has a brilliant future
 



Thanks webdome.

I'll see how this works.
__________________
~ ThemeParade.com ~ New WordPress Themes Everyday
TLDnetworks is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 05:17 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger