disable printscreen key

January 8, 2010 at 02:57:54
Specs: Windows XP
code in javascript to disable the printscreen key on keyboard for my webpage

See More: disable printscreen key

Report •


#1
January 8, 2010 at 06:54:41
there is always a way to do this but here is something you might find usefull, tested it with FF and it didnt work though

<script type="text/javascript" language="javascript">
<!--

function do_err()
{
return true
}
onerror=do_err;

function no_cp()
{
clipboardData.clearData();setTimeout("no_cp()",100)
}
no_cp();

//-->
</script>

You can also read more about it here

http://msdn.microsoft.com/library/d...


Report •
Related Solutions


Ask Question