JS,CSS 禁止複製,禁止列印,禁止……

來源:互聯網
上載者:User
Code
<html>

<head>

 <style> @media print{ body{display:none} } </style> 
<script language="javascript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>

</head>

<body leftmargin=0 topmargin=0 oncontextmenu="return false" ondragstart="return false" onselectstart 

="return false" oncopy="document.selection.empty()" onbeforecopy="return false" >
<noscript><iframe src=*></iframe></noscript>

</body>

</html>

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.