<body onmouseup="document.selection.empty()" oncontextmenu="return false" onmousemove="document.selection.empty()" oncopy="document.selection.empty()" onselect="document.selection.empty()">完全保护?用CTRL+N,开新窗口,查看--》查看源文件

解决方案 »

  1.   

    <body onmouseup="document.selection.empty()" oncontextmenu="return false" onmousemove="document.selection.empty()" oncopy="document.selection.empty()" onselect="document.selection.empty()">
    没有屏蔽ctrl键
      

  2.   

    Jaron(唐伯虎点蚊香) and  xiaoshi(js真痛苦!我要被炒了),如果再把ctrl 屏蔽掉,那怎么能看到源代码
      

  3.   

    下载保存 http://www.china-pub.com/computers/common/info.asp?id=12301 文件,然后用记事本打开,看他是打开了哪个文件,再在浏览器里打开。
    呵呵
      

  4.   

    我的意思是连工具条和那些选向条都没有了就是一个浏览窗口就想很多网站弹出的那些小窗口一样,但是里面的东西不能copy和save
      

  5.   

    我想这是不可能的。你举个例子,我肯定可以把页面的文本内容COPY下来。下面是我从你说的网站COPY出来的目录部分内容。
    1. Refactoring, a First Example. The Starting Point. 
    The First Step in Refactoring. 
    Decomposing and Redistributing the Statement Method. 
    Replacing the Conditional Logic on Price Code with Polymorphism. 
    Final Thoughts. 
    2. Principles in Refactoring. Defining Refactoring. 
    Why Should You Refactor? 
    When Should You Refactor? 
    What Do I Tell My Manager? 
    Problems with Refactoring. 
    Refactoring and Desig
      

  6.   

    在主页面里:
    <input type=button value=弹出模态框 onclick="showModalDialog('mm.htm','','dialogWidth: 480px; DialogHeight: 360px; status: no; help: no')">在mm.htm:
    <html>
      <head>
        <META HTTP-EQUIV="pragma" CONTENT="no-cache">
        <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
        <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
        <title>梅花雪</title>
      </head>
      <body> 你好! </body>
    </html>当然绝对的保密是不现实的, 只要客户能够访问到的网页就能够被另存下来, 我这样做也只不过是增加一些另存的难度而已, 关于那个模态框对应的链接你可以写一个后台转跳的网页, 不将如此明码写在主网页的源代码里, 这样也可以增加另存的难度!!