20 Ways To Make $5000+ From Home. Earn Now!

Table of Content

Disable Right Click In Blogger Using Jquery Trick

How To Disable Right Click,Cut, Copy Paste,restrict users to view your page source code From your blogspot Website by using simple jquery trick.
How to Disable Right Click In Blogger Using Jquery Trick
How to Disable Right Click In Blogger Using Jquery Trick | Hello Folks,Today in This article we will explain to you how to disable right click function using a jQuery code snippet.So you must disable right click for protecting your page source and also the content.To add this feature in your Blogger website or blog follow the steps mentioned below.

How to Disable Right Click On Website By Using Jquery:

installation steps:

Step 1. Log in to your Blogger account and Go to your Blogger Dashboard.
Step 2. Now Click on -> Template -> Edit HTML.
Step 3. Now Search for </head> tag by Pressing Ctrl+F keys. 
Step 4.Copy the below code and paste it just before the </head> tag.
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js' type='text/javascript'></script>
<script src='http://code.jquery.com/jquery-migrate-1.2.1.js'></script>
<script type='text/javascript'>
//<![CDATA[
jQuery(document).ready(function($) {
    $(document).bind("contextmenu", function(e) {
        return false;
    });
});
//]]>
</script>
Note:If Jquery is already installed in your blogger template then remove the following below lines from the above code.
 <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js' type='text/javascript'></script>
<script src='http://code.jquery.com/jquery-migrate-1.2.1.js'></script>
Step 5. Now Save your template..you are Done !!

We hope this article helped you to learn How to Disable Right Click In Blogger Using Jquery Trick For Content Protection.If you liked this article please Join us on Facebook,Twitter,Google Plus.

Post a Comment