在你的网页位置添加上这部分js代码
document.onselectstart = new Function('return false');
document.oncontextmenu = new Function('return false');
if (window.sidebar) {
document.onmousedown = new Function('return false');
document.onclick = new Function('return true');
document.oncut = new Function('return false');
document.oncopy = new Function('return false');
}
document.addEventListener('keydown', function (e) {
if (e.keyCode === 83 && (navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey)) {
e.preventDefault();
e.stopPropagation();
}
}, false);