Reply to protecting copyright images in firefox

Your name:

Reply:


Posted by scully on 01/01/06 01:25

hi all
I have a tag that i use to stop users stealing images from a sight
that uses java script tag as per following:
<script language=javascript>
<!-- Begin
function right(e) {
var msg = "Right clicking has been disabled on this website to protect
copyright of the displayed images.";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);
return false;
}
else
if (navigator.appName == 'Microsoft Internet Explorer' &&
event.button==2) {
alert(msg);
return false;
}
return true;
}
document.onmousedown = right;
// End -->
-->
</script>
I notice the script is a little different for explorer and netscape
what would i use for the browsers firefox & opera
thanks
scul

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация