📅  最后修改于: 2022-03-11 15:03:48.179000             🧑  作者: Mango
window.oncontextmenu = function () {
return false;
};
document.addEventListener("keydown", function(event){
var key = event.key || event.keyCode;
if (key == 123) {
return false;
} else if ((event.ctrlKey && event.shiftKey && key == 73) || (event.ctrlKey && event.shiftKey && key == 74)) {
return false;
}
}, false);