dark illusions19 » Newbie
Honors : 12 Age : 35 Warnings : Honors : 58780 Registration date : 2008-10-19
| Subject: Silent No-Right Click(works on all browsers) Tue Oct 28, 2008 9:40 pm | |
| paste the code along with your js codes... - Code:
-
function nrcIE() {if (document.all) {return false; } }
function nrcNS(e) {if (document.layers || (document.getElementById && ! document.all)) {if (e.which == 2 || e.which == 3) {return false; } } }
if (document.layers) {document.captureEvents(Event.MOUSEDOWN); document.onmousedown = nrcNS; } else {document.onmouseup = nrcNS; document.oncontextmenu = nrcIE; } document.oncontextmenu = new Function("return false"); | |
|
rezza » Newbie
Honors : 61 Age : 38 Warnings : Honors : 58780 Registration date : 2008-10-19
| Subject: Re: Silent No-Right Click(works on all browsers) Fri Oct 31, 2008 1:37 am | |
| that code make disable right clik without any effect or message. that tou mean bro.?? | |
|
dark illusions19 » Newbie
Honors : 12 Age : 35 Warnings : Honors : 58780 Registration date : 2008-10-19
| Subject: Re: Silent No-Right Click(works on all browsers) Mon Nov 10, 2008 1:12 am | |
| yup this will diasble the right click of your mouse when you put this code...=) | |
|
amiick Admin
Honors : 142 Age : 34 Location : cavite Warnings : FW Mood: : Honors : 57874 Registration date : 2009-01-15
| Subject: Re: Silent No-Right Click(works on all browsers) Thu Jan 15, 2009 9:59 am | |
| | |
|
Sponsored content
| Subject: Re: Silent No-Right Click(works on all browsers) | |
| |
|