Noch sind wir zwar ein kleines Forum, aber ich will schon mal vorsorgen...
Kann man Bilder auch so schützen, dass man keine Funktion mehr hat zum "speichern unter"?
Hat jemand einen Tipp?
Liebe Grüße Mäuschen.
[Edit:]
Wo baue ich dies ein?
Quelle:
http://www.java-fun.de/java/scrips/s...d_keyklick.htm
PHP-Code:<head>
<style>
DivBG {position:absolute; top:0; left:0; width:100%; height:100%}
</style>
</head>
<body onload="OnLoad()">
<script language="javascript">
<!--
if (document.all){
function CancelMenu()
{
alert('Sorry: Diese Taste ist hier deaktiviert.');
//location.href="about:NavigationCanceled";
}
function CancelEvent()
{
window.event.returnValue=false;
window.event.cancelBubble=true;
if( window.event.button==2 ) // capture right mousebutton
CancelMenu();
if( window.event.button==4 ) // capture middle mousebutton
CancelMenu();
//if( window.event.button==1 ) // capture left mousebutton
//CancelMenu();
}
function OnKeyDown()
{
if (window.event.keyCode >= 27 && window.event.keyCode < 256) // capture all keystrokes
CancelMenu();
if (window.event.altKey) // capture alt keystrokes
CancelMenu();
if( window.event.ctrlKey ) // capture strg/ctrl keystrokes
CancelMenu();
if( window.event.shiftKey ) // capture shift keystrokes
CancelMenu();
}
function OnLoad()
{
DivBG.onmousedown = CancelEvent;
DivBG.onmouseup = CancelEvent;
DivBG.onclick = CancelEvent;
DivBG.ondblclick = CancelEvent;
document.ondragstart = CancelEvent;
document.onselectstart = CancelEvent;
document.onkeydown = OnKeyDown;
}
}
//-->
</script>
<div id=DivBG class=DivBG></div>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
if (document.layers){
window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
window.onmousedown=rightclick;
window.onmouseup=rightclick;
function rightclick(e) {
if (e.which == 3) {
alert('Sorry: Diese Taste ist hier deaktiviert.');
return false;
}
else {
return true;
}
}
}
if (document.all){
function click() {
if (event.button==2) {
alert('Sorry: Diese Taste ist hier deaktiviert.')
}
if (event.button==3) {
alert('Sorry: Diese Taste ist hier deaktiviert.')}
}
document.onmousedown=click
}
// -->
</script>




Zitieren


... jetzt kann ich nicht mehr einsehen wie groß die Bilder sind die User in ihre Signatur setzen...


Lesezeichen