How to disable printscreen with javascript?
问题 I want to make function in javascript which change value of clipboard after the printscreen was used. Is that possible? $(document).keyup(function(e){ if(e.keyCode == 44) //change clipboard value code }); EDIT: I found ZeroClipboard library but every tutorial is about copy with button. I want just change the value of clipboard. 回答1: There is another way to disable Print Screen in your website (it worked for my website). Click here to go to my Pen (Codepen.io). Here is also a snippet: document