| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Deactivate right click
Started by djleli, Aug 09 2004 09:49 PM
43 replies to this topic
#27
Posted 27 October 2004 - 02:14 AM
DMA, on Oct 27 2004, 12:18 AM, said:
i just use firefox, and i downloaded the allow right click extension... so i can always beat those lame scripts... and i didnt need that extension anyways... since i always have javascript disabled on my firefox.
#28
Posted 27 October 2004 - 06:39 PM
i dont like disabling rick-click but after this person stole all my content it was only way. so if anybody wants this script below disables right click and highlighting. Btw thanks for that frame trick i will use it on the page that the person is stealing from.
but remember everyone dont use it unless u NEED to.
[/br]<script language="JavaScript1.2">[br]function disableselect(e){p[/br]return false[br]}[/br][br]function reEnable(){[/br]return true[br]}[/br][br]//if IE4+wi[/br]document.onselectstart=new Function ("return false")[br][/br]//if NS6[br]if (window.sidebar){[/br]document.onmousedown=disableselect[br]document.onclick=reEnable[br]}[/br]</script>[br][/br]<script language=JavaScript>[/br]<!--[br]var message="";[/br]///////////////////////////////////[br]function clickIE() {if (document.all) {(message);return false;}}[/br]function clickNS(e) {if [br](document.layers||(document.getElementById&&!document.all)) {[/br]if (e.which==2||e.which==3) {(message);return false;}}}[br]if (document.layers) [/br]{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}[br]else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}[/br]// --> [br]</script> but remember everyone dont use it unless u NEED to.
#30
Posted 27 October 2004 - 10:59 PM
I think like if those who use the old version of Netscape Navigator can view the source despite any code put in place. I've used it a few times when I'm trying to save some image. lol. Sometimes it annoys me enough that I have to do that print screen option.
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














