Help - Search - Members - Calendar
Full Version: the code to stop people from copy+pasting...
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
lindsaybabe
that code isnt working..when i copy and paste it,well the whole thing wont paste..so i tried putting it in line at a time...and it still doesnt work..and what is the "public" box? any help? anyone? please..
anne
juzz paste on your custom header right? then specify the message to be replace when they paste it.
lindsaybabe
QUOTE(anne @ 01-28-2004, 10:32 PM)
juzz paste on your custom header right? then specify the message to be replace when they paste it.

ooooh..i thought that it worked like when they right clicked a messg comes up and yells at them...thank u! ...another thing...does it matter like, where in custom header u put it? like can it go under tagline?
anne
lol dazz popup alert...

QUOTE
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Function Disabled!";

///////////////////////////////////
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>


dazz the code for the alert thing...[note: dazz anoying >_<]


yes i think it doesnt really matter..but preferably on top of all of em...so u don hafta go up and down to customize it ^_^ yawn.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.