Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I need your help,I have made a website for security reasons I want to disable a print
screen button for a all browser like IE,Firefox,Safari,Google chrome...


Please provide the solution in html with help of java script coding.

Thanks
Sumit Sethi
Posted
Comments
Hemant Singh Rautela 5-Feb-14 5:12am    
Is it possible ??

Give me your site link and I will you send a printout to you....
:-)

& also don't answer yourself.... It is spamming here(not allowed)...

XML
<script language="javascript">

function setClipBoardData(){
setInterval("window.clipboardData.setData('text','')",20);
}
function blockError(){
window.location.reload(true);
return true;
}

</script>
 
Share this answer
 
Comments
SoMad 5-Feb-14 5:05am    
Wow, you were able to figure out a solution right after you posted the question.
I see that you copied content(question) from the below question
Stop print Screen for all web browser[^]
 
Share this answer
 
Comments
SoMad 5-Feb-14 5:11am    
Nice catch. :thumbsup:

Soren Madsen

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900