JS禁止右键

Posted on 2016-06-10 16:54  黄银  阅读(175)  评论(0编辑  收藏  举报

function cancelMouse(){return false;}
document.oncontextmenu = cancelMouse;