function click()
{if (event.button==2) {alert(`禁止右键`) }}
document.onmousedown=click;