Disable Right click for blogger / Copy protect alert Warning

Disable Right click for blogger / Copy protect alert Warning

Disable Right click for blogger Copy


In thi post, We will discuss - How do I protect my blog content from copying / Disable long press copy / How To Disable Right click for blogger / Copy protect alert Warning For Blogger And Wordpress.  


Using This function Tool, You will get Disabling Text Selection and Copying / Disabling Right Click menu 

Viewing the Page Source with Ctrl + U key press in Chrome and Disable Chrome Developer Tools with F 12 or Ctrl + Shift + I key press combinations And it can do Aslo Wordpress Working tool.

{tocify} $title={Table of Contents}

Disable Right click for blogger is very useful script to protect blog content from copy. I am pretty much sure that you don't want to your blog site post anyone to copy your blog content, using Ctrl + C or long press / copy paste in Blogger post.


What is Copy Protect? 

Copy Protect is a script that helps prevent post content on a website from being copied by spammers.  Simply put, Copy Protect keeps all the information on the website safe.  Which cannot be copied in any way.


Many of us have noticed that some bloggers do not allow copying of posts or content from their blogs and by doing so they disable right click on their blog.  Because, when you select any text or content from that blog site and right click or Disable long press copy that content, then it is not copied or, Copy protect alert warning shows.  But many people do not know how disable right click for blogger or anti copy protect works.


Why copy protect or right click disable on blogger post

Because, when you post on your website about a topic, they must have written your own and given enough time to write each post.  But if a spammer copies it without permission and posts it on his website, this is a very bad aspect, which can be a problem in Google ranking on your website.  Yes, it does not have that much effect on the site, but it can be a serious loss for you.  E.g.  There may be more problems with Google Ranking Problem, SEO Problem.


How To Disable Right Click Copy For Blogger With Alert Warning 

Using the following script Disable Right Click Copy For Blogger With Alert Warning .This is simple process, that you can protect your content with the simple method.  So, let's start the topic.


  • ☞Go To Blogger Dashboard 
  • ☞Layout 
  • ☞Now, Just need to Click Add a Widget (Anywhere)
  • ☞Add HTML & Javascript Box 
  • ☞Then, Paste the blew script code in the box and Save.


Code :

<script language=javascript>
<!--
//Disable right mouse click Script
//By Being Geeks
//For full source code, visit https://www.blogbn.com
var message="Copy, Don't Allow!";
///////////////////////////////////
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>



You Can See Demo : : {getButton} $text={Demo} $icon={preview}


But, just disabling Right Click does not protect content copy of your website, there are some other tools through which you can copy, how to stop them are given below.


How to Disable Viewing Page Source With Ctrl + U

Many people can copy post from source code using Ctrl + U of Pc, Laptop Keyboard shortcut, you can also do Disable Viewing Page Source With Ctrl + U as shown below.


  • ☞Go To Blogger Dashboard 
  • ☞Layout 
  • ☞Now, Just need to Click Add a Widget (Anywhere)
  • ☞Add HTML & Javascript Box 
  • ☞Then, Paste the blew script code in the box and Save.


Code :

// disable viewing page source
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
	document.onkeydown = function(e) {
        if (e.ctrlKey && 
            (e.keyCode === 67 || 
             e.keyCode === 86 || 
             e.keyCode === 85 || 
             e.keyCode === 117)) {
				 alert('Content is protected\nYou cannot view the page source.');
            return false;
        } else {
            return true;
        }
};
	$(document).keypress("u",function(e) {
	if(e.ctrlKey)
	{
	return false;
	}
	else
	{
	return true;
	}
});
</script>


How to Disable F12 or Ctrl + Shift + I Key 

By pressing F12 or Ctrl + Shift + I through the Chrome Web Browser, you can copy with the Dev tool, but entering the following code will not be possible.


  • ☞Go To Blogger Dashboard 
  • ☞Layout 
  • ☞Now, Just need to Click Add a Widget (Anywhere)
  • ☞Add HTML & Javascript Box 
  • ☞Then, Paste the blew script code in the box and Save.


Code :

//disable F12 Key and Ctrl + shift + I combination

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

<script>

$(document).keydown(function (event) {

    if (event.keyCode == 123) { // Prevent F12

        alert('Content is protected\nYou cannot view the Dev Tools.');

		return false;

    } else if (event.ctrlKey && event.shiftKey && event.keyCode == 73) { // Prevent Ctrl+Shift+I        

        alert('Content is protected\nYou cannot view the Dev Tools.');

		return false;

    }

});

</script>



How To Right Click Disable For Wordpress ( Protect Copy / Source Code )

The Blogger site has a separate script code to block each way, but all of the above features can protect Wordpress post copy, with a plugin - Just You need to Install Disable Right Click for WP Plugin in your wordpress website and get all features for Disable right click / Copy Protection / Source Code view etc. 


Putting each script code on above of the </body> tag will also working For Every Blogger Template{alertInfo}



Conclusion : All of the above mentioned methods will work in some browsers with sequence, some professional hackers or spammers to break any security including right click disable for blogger and wordpress.  So the chances of your content being 100% secure are very low.

 If there is any problem in using the mentioned codes, please comment or let us know in the contact form.  I will try to solve your problem as quickly as possible.


Post a Comment

Previous Post Next Post