<body>
<script type="text/javascript">
//not IE is required
function fncKeyStop(evt)
{
if(!window.event)
{
var keycode = evt.keyCode;
var key = String.fromCharCode(keycode).toLowerCase();
if(evt.ctrlKey && key == "v")
{
evt.preventDefault();
evt.stopPropagation();
}
}
}
</script>
<input οnkeydοwn="fncKeyStop(event)" οnpaste="return false" oncontextmenu = "return false;" />
</body>
转载于:https://www.cnblogs.com/jamin/archive/2008/06/02/1211940.html