ich wollte für mein forum diese beiden codes für einen kopierschutz und markiersprre einbinden
hier erstmal die html codes
Kopierschutz:
Code: Alles auswählen
<script language="JavaScript">
function click()
{if (event.button==2)
{alert('Warntext')}}
document.onmousedown=click
</script>
Code: Alles auswählen
<br>
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script></br>hoffe das mir jemand helfen kann
danke schonmal im vorraus