if (navigator.appName.indexOf("Internet Explorer") != -1) document.onmousedown = noSourceExplorer;
function noSourceExplorer() { if (event.button == 2 | event.button == 3) alert("對不起，禁止使用右鍵！")}