Demo Các hướng dẫn thủ thuât trên Blogsopt

Disable Right Click In Blogger Using 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.

Đăng nhận xét

[blogger]

MKRdezign

Biểu mẫu liên hệ

Tên

Email *

Thông báo *

Được tạo bởi Blogger.
Javascript DisablePlease Enable Javascript To See All Widget