Sunday, May 2, 2021

Right Click Disable Script for Blog | how to disable right click on blog

Right Click Disable Script for Blog | how to disable right click on blog
May 02, 2021

For those of you who have a web, of course, will feel annoyed if indeed our content is nosy, aka someone copy and paste mercilessly or you can say crazy copy. All the posts that we have made tired of thinking for days in the trip, just copy and paste. So from that, one way to prevent this is to apply an anti-right-click script on our blog, or you can say disable right click. besides being able to protect content, it can also protect your template from clone attacks. To add an anti-right-click script or disable right-click, please apply the script below before or above the code

<script type='text/javascript'>
// Right Click
function clickIE(){if(document.all){(message);return!1}} function clickNS(e){if(document.layers||(document.getElementById&&!document.all)){if(e.which==2||e.which==3){(message);return!1}}} if(document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE} document.oncontextmenu=new Function("return false")

Now that's how to add a disable right click script on your site, hopefully it will be useful for you.

Link will be apear in 15 seconds.
Share This :

Add Your Comments

bold <b>b</b>
italic <i>i</i>
underline <u>u</u>
HTML<code></code> use Parser


Post a Comment