📄 真正的屏蔽右键.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0046)http://fason.nease.net/code/js/mouse/right.htm -->
<HTML><HEAD><TITLE>真正的屏蔽右键</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId></HEAD>
<BODY>
<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; // for IE5+ document.onmousedown = norightclick; // for all others //--> </SCRIPT>
<DIV align=center>
<CENTER>
<TABLE style="FONT-SIZE: 12px; COLOR: #000000" borderColor=#000000 cellSpacing=0
borderColorDark=#ffffff cellPadding=0 width="90%" borderColorLight=#000000
border=1>
<TBODY>
<TR>
<TD width="100%"><script
language="JavaScript"> <BR><!-- <BR><BR>if
(window.Event) <BR>document.captureEvents(Event.MOUSEUP); <BR><BR>function
nocontextmenu() <BR>{ <BR>event.cancelBubble =
true <BR>event.returnValue = false; <BR><BR>return
false; <BR>} <BR><BR>function
norightclick(e) <BR>{ <BR>if
(window.Event) <BR>{ <BR>if (e.which == 2 || e.which ==
3) <BR>return false; <BR>} <BR>else <BR>if
(event.button == 2 || event.button ==
3) <BR>{ <BR>event.cancelBubble =
true <BR>event.returnValue = false; <BR>return
false; <BR>} <BR><BR>} <BR><BR>document.oncontextmenu =
nocontextmenu; // for IE5+ <BR>document.onmousedown = norightclick;
// for all
others <BR>//--> <BR></script></TD></TR></TBODY></TABLE></CENTER></DIV>
<P align=right><A style="TEXT-DECORATION: none"
href="http://fason.nease.net/">【阿信的小天地】</A></P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -