Js禁止网页复制、查看源代码 发表于 2018-07-06 分类于 JavaScript网页禁止右键、禁止查看源代码、禁止复制的代码12document.oncontextmenu=new Function('event.returnValue=false;');document.onselectstart=new Function('event.returnValue=false;');