//屏蔽鼠标右键 window.document.oncontextmenu=function(){ return false; } //禁止用户选择并复制数据 window.document.onselectstart=function(){ return false; }