在地址栏中输入
javascript:var targetEvents = ['oncontextmenu', 'onmousedown', 'ondragstart', 'onselectstart', 'onselect', 'oncopy', 'onbeforecopy', 'onbeforecopy', 'onmouseup'];$.each(targetEvents, function(index, value) {$('body').removeAttr(value);document[value] = function(){return true;};});
ps: 很多浏览器好像不让在地址栏中复制javascript:这几个关键字 需要自己手动输入