HOW TO DISABLE RIGHT CLICK
3 posters
Page 1 of 1
HOW TO DISABLE RIGHT CLICK
HOW TO DISABLE RIGHT CLICK IN IFRAME??
papakanmo- Forumember
- Posts : 93
Reputation : 1
Language : English/Tagalog
Re: HOW TO DISABLE RIGHT CLICK
This works?
- Code:
<script language="Javascript1.2">
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="iframe"){
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="iframe"){
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script>
Guest- Guest
Re: HOW TO DISABLE RIGHT CLICK
i still can right click in facebook chatroom -_-
papakanmo- Forumember
- Posts : 93
Reputation : 1
Language : English/Tagalog
Re: HOW TO DISABLE RIGHT CLICK
May I ask, why do you want to disable right click?
It will only serve to annoy your visitors.
It will only serve to annoy your visitors.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: HOW TO DISABLE RIGHT CLICK
FaceBook is nothing to do with our forum but just a add on to itpapakanmo wrote:i still can right click in facebook chatroom -_-
we have no rights over the use of facebook and there for any Mods you use to remove right click on your forum will only work on your forum not facebook,
Right now I'm sorry but i Don't think this can be done SORRY
~Ape~
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum