Check out example codes for "block view source html". It will help you in understanding the concepts better.

Code Example 1

$(document).ready(function() {
            $(document).bind("contextmenu copy paste cut drag drop ", function (e) {
                return false;
            });
        });

Learn ReactJs, React Native from akashmittal.com