Top Ad unit 728 × 90

recent

Disable Mouse Right Click, Cut, Copy & Paste Full JavaScript

Disable Mouse Right Click, Cut, Copy & Paste Full JavaScript code for disabling mouse right click and disable cut (CTRL+X), copy (CTRL+C) and paste (CTRL+V) from the web page


<!-- Disable Mouse Right Click   -->
<script type="text/javascript">
$(document).ready(function () {
    //Disable cut copy paste
    $('body').bind('cut copy paste', function (e) {
        e.preventDefault();
    });
 
    //Disable mouse right click
    $("body").on("contextmenu",function(e){
        return false;
    });
});
</script>
<!-- code end -->
Disable Mouse Right Click, Cut, Copy & Paste Full JavaScript Reviewed by Lakshmi Narayana P on 22:28 Rating: 5

No comments:

All Rights Reserved by TS Computer.in © 2014 - 2015
Powered By Blogger, Designed by Sweetheme

Contact Form

Name

Email *

Message *

Powered by Blogger.