CJ11™ wrote:ACP >> Modules >> JS Management >> Create a new one >> Placement : In all pages
Will refrain from right clicking inside the whole forum.
Thank you. Would this be the correct page?
HTML & JAVASCRIPT Javascript codes management Add a Javascript Code
Title: (Would I type "Right Click Disabled" in this box?)
Placement: (Check) "In all the pages"
And then add the following into the "Javascript code" box?
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
If for some reason it did not work, I could also delete all that info - correct?