uhhh how come this myspace disabled right click..., is it non java script? idk help? |
![]() ![]() |
uhhh how come this myspace disabled right click..., is it non java script? idk help? |
Sep 27 2005, 07:48 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 166 Joined: Aug 2005 Member No: 191,559 |
|
|
|
|
Sep 27 2005, 08:03 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 311 Joined: Jul 2005 Member No: 179,869 |
omg thats so cool i wish i new how!
|
|
|
|
Sep 27 2005, 08:10 PM
Post
#3
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,573 Joined: Feb 2005 Member No: 99,124 |
I found this in the source:
HTML <td>
<script language=JavaScript> <!-- //Disable right mouse click Script //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit [url="http://www.dynamicdrive.com"]http://www.dynamicdrive.com[/url] 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></td> |
|
|
|
Sep 27 2005, 08:52 PM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 311 Joined: Jul 2005 Member No: 179,869 |
do i need to put style tags? does it madder where i put it, wont work in "about me"........
|
|
|
|
Sep 27 2005, 08:54 PM
Post
#5
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,573 Joined: Feb 2005 Member No: 99,124 |
No, you don't put javascript in style tags. Paste the code in the about me section of your profile.
|
|
|
|
Sep 27 2005, 08:59 PM
Post
#6
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 311 Joined: Jul 2005 Member No: 179,869 |
it dosint work try it. all i did was copy the code up there and put it in my about me section and it comes up saying....
.. 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...clickNS4; } else if (document.all&&!document.getElementById){ document...clickIE4; } document...new Function("alert(message);return false") // --> what am i doing rong? |
|
|
|
Sep 27 2005, 09:03 PM
Post
#7
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,573 Joined: Feb 2005 Member No: 99,124 |
Try it now.
CODE <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> |
|
|
|
Sep 28 2005, 04:01 PM
Post
#8
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 166 Joined: Aug 2005 Member No: 191,559 |
QUOTE(Maestro @ Sep 27 2005, 10:03 PM) Try it now. CODE <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.onmousedown=clickIE4; document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ } document.oncontextmenu=new Function("alert(message);return false") </script> still doesnt work....... |
|
|
|
Sep 28 2005, 07:24 PM
Post
#9
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 311 Joined: Jul 2005 Member No: 179,869 |
AHH can some one please fix this code :(
|
|
|
|
Sep 28 2005, 07:31 PM
Post
#10
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Sep 2005 Member No: 225,663 |
<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="PUT MESSAGE HERE"; /////////////////////////////////// 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></td></tr><script language="JavaScript"> is it that? or did i just post the same thing? :| |
|
|
|
Sep 28 2005, 07:50 PM
Post
#11
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 166 Joined: Aug 2005 Member No: 191,559 |
QUOTE(SiLLYG0OSE<3 @ Sep 28 2005, 8:31 PM) <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="PUT MESSAGE HERE"; /////////////////////////////////// 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></td></tr><script language="JavaScript"> is it that? or did i just post the same thing? :| same thing |
|
|
|
Sep 28 2005, 09:38 PM
Post
#12
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 311 Joined: Jul 2005 Member No: 179,869 |
THERE has to be a way for this code to work this guy go it to work.....
|
|
|
|
Sep 28 2005, 10:42 PM
Post
#13
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 232 Joined: Sep 2005 Member No: 227,954 |
ugh you guys are retarded, he obviously did this before tom disabled java from myspace...and he never change it thats why it's still there
|
|
|
|
Sep 28 2005, 11:04 PM
Post
#14
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 311 Joined: Jul 2005 Member No: 179,869 |
ya but wouldint the code stop working if tom disabled java?? Im not stupid you are lol
|
|
|
|
Oct 1 2005, 03:58 PM
Post
#15
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 311 Joined: Jul 2005 Member No: 179,869 |
did ANY one find out how to fix this code or make a code for no right clicking?
|
|
|
|
![]() ![]() |