index.asp

来自「用于选举集中上来的手工选票的记录与统计」· ASP 代码 · 共 61 行

ASP
61
字号
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 7</title>
</head>

<script>
function openmain()
{
window.open("main.asp","main","toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=780,height=520,left=140,top=80");
}
</script>

<body   OnbeforeUnload="openmain()" >
<script language="JavaScript">

 
if (window.Event) 
  document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu() 
{
 event.cancelBubble = true
 event.returnValue = false;
 
 return false;
}
 
function norightclick(e) 
{
 if (window.Event) 
 {
  if (e.which == 2 || e.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
 
}
 
document.oncontextmenu = nocontextmenu;  
document.onmousedown = norightclick; 

</script>

<script>
window.opener=null;
window.close();
</script>
</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?