找个可防止的地方粘过去就行
<script type="text/javascript">
document.oncontextmenu = function () {
return false
}
document.onkeydown = function () {
if (window.event && window.event.keyCode === 123) {
event.keyCode = 0
event.returnValue = false
return false
}
}
</script>