鎖右鍵語法
<script type="text/javascript" language="JavaScript">// <![CDATA[
if (navigator.appName.indexOf("Internet Explorer") != -1)
document.onmousedown = noSourceExplorer;
function noSourceExplorer()
{
if (event.button == 2 | event.button == 3)
{
alert("您已經按了右鍵");
location.replace("http://abowman.pixnet.net/blog");
}
}
// ]]></script>
留言列表