Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to disable screenshot jquery

{(function() {
var startingTime = new Date().getTime();
// Load the script
var script = document.createElement("SCRIPT");
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js';
script.type = 'text/javascript';
document.getElementsByTagName("head")[0].appendChild(script);

// Poll for jQuery to come into existance
var checkReady = function(callback) {
    if (window.jQuery) {
        callback(jQuery);
    }
    else {
        window.setTimeout(function() { checkReady(callback); }, 20);
    }
};

// Start polling(Add jquery logic here)
checkReady(function($) {
    $(document).keyup(function(e){
      if(e.keyCode == 44) return false;
    });
});
})()
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disable #screenshot #jquery
ADD COMMENT
Topic
Name
2+6 =