The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Greetings all
I was wondering how I can add a no right click to my board I am running 3.53 and some of the graphics that i put up are being ripped off so I thought that a no right click will do the job. But how to do this? thanks in advance Goldendog
|
|
#2
|
||||
|
||||
|
Don't bother, anyone smart enough to upload images can figure out how to work around it.
|
|
#3
|
||||
|
||||
|
You can give this a try!:
Code:
<!-- START DISABLE RIGHT CLICK -->
<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="If you need my images please send me an email!";
///////////////////////////////////
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>
<!-- END DISABLE RIGHT CLICK -->
|
|
#4
|
|||
|
|||
|
Quote:
I am aware of the view source but I have found most people are click people, so if they are smart enough to use the view source well then they can have it. I only want it as a deterant. Thanks again for you effort and time Goldendog. |
|
#5
|
||||
|
||||
|
Try at the bottom of your header.
|
|
#6
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|