<div class="codetitle"> <span><a style="CURSOR: pointer" data="72233" class="copybut" id="copybut72233" onclick="doCopy('code72233')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code72233"> <br><style>@media print{body{display:none}}< /style> <BR><%--禁止截屏,透過清除剪切板實現Start--%> <BR><script type="text/javascript"> <BR>function clearShearPlate() { <BR>try { <BR>if (clipboardData.getData("Text") || clipboardData.getData("HTML") || clipboardData.getData("URL")) { <BR>null; <BR>clipboardData.setData("Text" , ""); <BR>} <BR>} <BR>catch (e) { <BR>clipboardData.setData("Text", "") <BR>} <BR>setTimeout("clearShearPlate()", 500) <BR>} <BR>clearShearPlate(); <BR> <BR><%--禁止截屏,透過清除剪切板實現End--%> <br><br><%- -禁止複製禁止右鍵選單--%> <BR><body oncopy="return false;" oncontextmenu="return false"> <br><br><%--禁止網頁另存為Start--%> <BR><noscript><iframe src=*.html> <BR><%--禁止網頁另存為End--%> <BR></style> </div>