Hello,
Have you seen some websites blocking mouse right clicks? They do it to block certain content from being either downloaded or shared (can be still downloaded, though). Learn how to do it in your Clip-Bucket v2 powered website by following these simple instructions. Cross-browser.
1. Open ./styles/{YOURTEMPLATE}/global_header.html
2. Find
</head>
and before that line, paste
{literal} <script type="text/javascript"> var message="Right Clicking Has Been Disabled."; function clickIE() {if (document.all) {alert(message);return false;}} function clickNS(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=clickNS; } else { document.onmouseup=clickNS;document.oncontextmenu=clickIE; } document.oncontextmenu=new Function("return false"); </script> {/literal}
3. Save & Upload.
Now go to your site and notice that whenever you right click, an alert will pop up saying the function has been disabled. If you cannot get it working or you get stuck at any step, please do not hesitate to can’t me ASAP so I can assist you. If you’d like me to cover a specific topic, I’m up for suggestions, just let me know!
Best Regards,
Richi