2008-03-27 13:44 ``♥語法〃右鍵::★〞
o1.---防止按右鍵斗語法=ˇ=
<!--不預警防止複製_開始-->
<body oncontextmenu="window.event.returnValue=false">
<!--不預警防止複製_結束-->
o2.---轉址滑鼠所右鍵語法
<script language=JavaScript>
<!--
if (navigator.appName.indexOf("Internet Explorer") != -1)
document.onmousedown = noSourceExplorer;
function noSourceExplorer()
{
if (event.button == 2 | event.button == 3)
{
alert("您已經按了右鍵,\n疑似想偷看本站原始碼,\n您將要受到懲罰,\n就把您丟回首頁!");
location.replace("網址");
}
}
-->
</script>
[ alert("要打的字"); ]
想要增加出現的視窗就把 [ ] 裡的語法複製起來
接著打在後面就好樂ˇ
o3.---按右鍵就會加到我的最愛
<script language=JavaScript>
<!--
function click() {
if (event.button==2) {
window.external.addFavorite(網址/',名子')
}
}
document.onmousedown=click
-->
</script>

