按右鍵不預警轉址回自訂首頁語法

語法說明: 
在 window.open("http://ns-girl.myweb.hinet.net/") 中修改指定前往的頁面


<!--轉址式防止複製_開始-->
<script language="JavaScript">
<!--
if (navigator.appName.indexOf("Internet Explorer") != -1)
document.onmousedown = noSourceExplorer;
function noSourceExplorer()
{
if (event.button == 2 | event.button == 3)
{
window.open("http://ns-girl.myweb.hinet.net/")
}
}
-->
</script>
<!--轉址式防止複製_結束-->

arrow
arrow
    全站熱搜

    nicole 發表在 痞客邦 留言(0) 人氣()