How To Disable Right Click Option and Copy Option In Your Blog / Website?

Step 1 - Login to your Blogger Account 

Step 2 - Select "Layout" tab 

Step 3 - Select "Add a Gadget" 

Step 4 - Select "HTML/Javascript"

Step 5 - Paste the code given below in the HTML / Javascript Box

To disable Right click :-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>
$(document).ready(function(){  
    $(document).bind("contextmenu",function(e){  
        return false;  
    });  
});
</script>

To disable Copy option :-
<script type="text/javascript"> 
document.onselectstart=new Function ("return false"); 

</script>

No comments:

Post a Comment

Contact Us

Name

Email *

Message *