How to disable right click?
2 posters
Page 1 of 1
How to disable right click?
I want to disable right click on my forum,but how?
I've forund something on here it's called (How to disable right click)But then it said"Sorry but this page is not avaible!"
I've forund something on here it's called (How to disable right click)But then it said"Sorry but this page is not avaible!"
supergirll4- Forumember
- Posts : 126
Reputation : 0
Language : Arabic-English-Russian-a bit of french!
Location : UAE(Abu-Dhabi)
Re: How to disable right click?
heres the code i use, on the forum part, i dont think its possible tho, but i use it on my html pages and portal
- Code:
<script language="Javascript1.2">
// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header
// Set the message for the alert box
am = "Right Click Disabled";
// do not edit below this line
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(am)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
</script>
Re: How to disable right click?
Thank you very much!
It's really working!
It's really working!
supergirll4- Forumember
- Posts : 126
Reputation : 0
Language : Arabic-English-Russian-a bit of french!
Location : UAE(Abu-Dhabi)
Re: How to disable right click?
if you look for "right click disabled" like 6 lines down, you can change than in between the quotes to what youd like.
Similar topics
» Disable right click
» Disable Right Click
» Disable Right Click
» Disable Right-click
» How to disable right click
» Disable Right Click
» Disable Right Click
» Disable Right-click
» How to disable right click
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum