danny 2007-11-27 10:48
鎖右鍵+原始檔+鍵盤(java)
[code]<SCRIPT language=javascript>
<!-- begin
document.onmousedown=click;
document.onkeydown=click;
if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=click;
if (document.layers) window.captureEvents(Event.KEYDOWN); window.onkeydown=click;
function click(e){
if (navigator.appName == 'Netscape'){
if (e.which != 1){
alert("Welcome...!!");
return false;}}
if (navigator.appName == "Microsoft Internet Explorer"){
if (event.button != 1){
alert("Welcome...!!");
return false;}}}
// end -->
</SCRIPT> [/code]鎖右鍵+原始檔+鍵盤
注意:"welcome" 是改警告標語的地方
出處:摩尼BBS