Halaman

3 Ways to Disabled  Copy Text From Right Click

3 Ways to Disabled Copy Text From Right Click

How to Install an Anti Copy Text Script on a Blog - For those of you who are bloggers, you must be lazy to create content for your blog, friend, now the lazy end of copying and pasting other blogs ... is that right?

Even though many have practiced it, many bloggers complain, day and night think hard about the content and SEO of the blog and in the end copy and paste it, which is disappointing to blogs that are copied over the page on the blog, friend.

Usually blogs that are given this script visitors will decrease because they feel annoyed that they can't copy and paste. But remember, not all visitors have an issue with this because blogs that contain quality content will continue to be sought after by visitors, so don't be discouraged, your blog will be lonely.

In my opinion, copying and pasting is a copyright violation because it is copying without permission.

How to Install Anti Copy  Text Script on a Blog

First Method


Friend, first enter at blogger.com,  enter in Layout  >> Add Widget (free) >> JavaScript / HTML, copy the code below and paste it in the box provided.

<script> var message="If you want a copy, you can contact at contact!"; /////////////////////////////////// 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>

Click Save

NOTE

   The Code above turns off the right-click function

How to Install Copy  Text Disabled on a Blog

Second Method

The way to install is exactly the same as the first way

<script language='JavaScript1.2'> function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function ("return false") if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script>

Click on Save.

The code above has a higher function than the first one that turns off right-click, Ctrl C, Select Text but can still be Ctrl P.

How to Install Right Click Copy Text Disabled Script on a Blog

Third Method

The third one is different in blogger, com   Themes  >> Edit HTML then  Ctrl+F look for the code </head> or & lt; / head & gt; copy the code below and paste it right above the </head> or & lt; / head & gt;  

<b:if cond='data:blog.pageType == &quot;item&quot;'> <style type='text/css'> .post-body {-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0 0 10px 0;margin:0 0 10px 0;line-height:21px;} .post-body img{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:#fdfdfd;height:auto;max-width:100%;border:0;margin-bottom:2.0px;box-shadow:0 0 0 1px rgba(0,0,0,0.03);opacity:1;transition:all .6s ease;} .post_body p, .post blockquote,.post pre,.post code {-webkit-touch-callout:text;-khtml-user-select:text;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;} </style> </b:if>

Click on Save.

In my opinion, the code above is the best because it turns off right click but does not turn off the block quote.

Okay, that's all I can explain about  How to Install Anti Copy or Copas Script on the Blog Thank you for visiting TrickPk, hopefully it's useful for all of you.

Related Post

No comments