Log In · Register

 
code where u cant save pictures on myspace
LiLaZnGirL122
post Jan 25 2006, 04:17 AM
Post #1


LiLaZnGurL
*****

Group: Member
Posts: 969
Joined: Jul 2004
Member No: 29,072



does any 1 kno the code so ppl cant save ur picture on myspace?
 
 
Start new topic
Replies
jimbos12
post Jan 25 2006, 05:13 PM
Post #2


Newbie
*

Group: Member
Posts: 8
Joined: Jan 2006
Member No: 362,314



http://www.myspace.com/starofthezanarkandabes
care to explain how this person got their js to work?
I know there's ways around this but he has it :P

How in the world did he put this there?
Ya i looked at his code and tried it myself. I even tried to make my own context menu using ajax and that only worked alittle.
<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="Hey what gives?!";

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

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: