📅  最后修改于: 2022-03-11 15:04:25.628000             🧑  作者: Mango
// for disabling right click use this as it is
document.addEventListener('contextmenu', event => event.preventDefault());
event.preventDefault()