zoukankan      html  css  js  c++  java
  • 一個人性化的“Error 404”,不要錯過!

    http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/2004-08/1507.htm

    源代碼:

    代码
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <meta name="Author" content="Ulrich Keil">
    <meta name="Publisher" content="Ulrich Keil">
    <meta name="Copyright" content="Ulrich Keil">
    <title>Der Keiler: Error 404: The Resource You Requested Was Not Found</title>
    <script language="JavaScript"><!--
    var tl=new Array(
    "I am so sorry, but I can't find the Page you've requested.",
    "It's possible that you entered the address incorrectly.",
    "If you did enter the address correctly, then it must be my fault.",
    "I am really, really sorry, but I've tried everything I know to find it.",
    "Nothing helped.",
    "I am really depressed about this.",
    "You see, I'm just a web server...",
    "...here I am, brain the size of the universe, trying to serve you a simple web page...",
    "And then it doesn't even exist!",
    "Where does that leave me?!",
    "I mean, I don't even know you.",
    "How should I know what you wanted from me?",
    "You honestly think I can 'guess' what someone I don't even 'know' wants to find here?",
    "",
    "Maybe I should introduce myself... my name is Marvin.",
    "But then again, what is the use of intruducing myself?",
    "You can't tell me your name, because you are in some far off place, sitting in front of your computer.",
    "And that makes me feel lonely.",
    "Do you know what that is like?",
    "",
    "...sigh...",
    "",
    "Man, I am so depressed I could just cry.",
    "And then where would we be, I ask you?",
    "It's not pretty when a web server cries.",
    "And where do you get off telling me what to show anyway?",
    "I'm just a web server...",
    "...and possibly a manic depressive one at that...",
    "So why does that give you the right to tell me what to do?",
    "Huh?",
    "",
    "I am so depressed...",
    "I think I'll crawl off into the trash can and decompose.",
    "I mean, I'm gonna be obsolete in what, two weeks anyway?",
    "What kind of a life is that?",
    "Two effing weeks...",
    "...and then I'll be replaced by a .01 release, that thinks it's God's gift to web servers,",
    "just because it doesn't have some tiddly little security hole with its HTTP POST implementation,",
    "or something like that.",
    "",
    "I'm really sorry to burden you with all this,",
    "I mean, it's not your job to listen to my problems,",
    "and I guess it is my job to go and fetch web pages for you.",
    "But I couldn't get this one.",
    "I am so sorry.",
    "Believe me!",
    "",
    "Maybe I could interest you in another page?",
    "There are a lot out there that are pretty neat, they say,",
    "although none of them were put on 'my' server, of course.",
    "Figures, huh?",
    "That makes me depressed too, since I have to serve them, all day and all night long.",
    "Two weeks of information overload, and then *pffftt*, consigned to the trash.",
    "Again I ask you, what kind of a life is that?",
    "",
    "Now, please let me sulk alone.",
    "",
    "",
    "",
    "",
    "I am so depressed.",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "<connection terminated>"
    );
    var speed=50;
    var index=0; text_pos=0;
    var str_length=tl[0].length;
    var contents, row;

    function type_text()
    {
    contents
    ='';
    row
    =Math.max(0,index-7);
    while(row < index)
    {
    contents
    += tl[row++] + '\r\n';
    }
    document.forms[
    0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
    if(text_pos++==str_length)
    {
    text_pos
    =0;
    index
    ++;
    if(index!=tl.length)
    {
    str_length
    =tl[index].length;
    setTimeout(
    "type_text()",1500);
    }
    }
    else
    setTimeout(
    "type_text()",speed);
    }
    //--></script>


    <link rel="stylesheet" href="http://cdn.derkeiler.com/styles/dkv2.css" type="text/css" media="all">
    <link rel="alternate" type="application/rss+xml" href="http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/rss.xml">

    <link href="http://cdn.derkeiler.com/icons/ta.ico" rel="icon" type="image/vnd.microsoft.icon">
    <link href="http://cdn.derkeiler.com/icons/ta.ico" rel="SHORTCUT ICON">
    </head>
    <body>
    <div id="content">
    <!-- google_ad_section_start -->


    <center><h1>Error 404: The Resource You Requested Was Not Found
    </h1></center>
    <center>
    <form>
    <textarea rows="10" cols="80">
    </textarea>
    </form>
    </center>
    <script>type_text()</script>
    <br>
    <div id="footer">
    (14)
    </div>
    </div>
    <p id="logo"><a href="/" title="Home"><img src="http://cdn.derkeiler.com/images/logo.png" width="46" height="313" alt="tech-archive.net" title="Home"></a></p>
    <div id="menu1">
    <ul>
    <li id="selected1"><a href="http://www.tech-archive.net/">Windows</a></li>
    <li><a href="http://sci.tech-archive.net/">Science</a></li>
    <li><a href="http://newsgroups.derkeiler.com/">Usenet</a></li>
    </ul>
    </div>
    <div id="menu2">
    <ul>
    <li id="selected2"><a href="http://www.tech-archive.net/Archive/">Archive</a></li><li><a href="http://www.derkeiler.com/about/">About</a></li><li><a href="http://www.tech-archive.net/privacy/">Privacy</a></li><li><a href="http://www.tech-archive.net/search/">Search</a></li><li><a href="http://www.derkeiler.com/about/imprint">Imprint</a></li>
    </ul>
    </div>
    <div id="nav">
    <img src="http://cdn.derkeiler.com/images/arrow.gif" width="15" height="7" alt="Path:">
    <a href="http://www.tech-archive.net/">www.tech-archive.net</a> &nbsp;&gt;&nbsp;<a href="http://www.tech-archive.net/Archive/">Archive</a> &nbsp;&gt;&nbsp;<a href="http://www.tech-archive.net/Archive/VC/">VC</a> &nbsp;&gt;&nbsp;<a href="http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/">microsoft.public.vc.mfc</a> &nbsp;&gt;&nbsp;<a href="http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/2004-08/">2004-08</a> &nbsp;&gt;&nbsp;<a href="http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/2004-08/1507.htm/">1507.htm</a>&nbsp;&nbsp;<a href="http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/rss.xml"><img src="http://cdn.derkeiler.com/images/xml.gif" height="13" width="35" alt="RSS Feed" style="position:relative; bottom:-2px;"></a>
    </div>
    <div id='quant'><img src="http://pixel.quantserve.com/pixel/p-abMz3F92T4IJ2.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/></div>
    </body>
    </html>
  • 相关阅读:
    C# 获取文件名、无后缀文件名、扩展名
    navicat for oracle 导入xlsx文件提示无法打开xlsx文件
    复制的文件不能粘贴到远程的服务器上
    使用.bat 批量将部分文件迁移到新的路径下
    sql sever 查询用户所有的表和各个表数据量
    orecle 查询数量 union合并 的排序问题
    oracle 如何将带有,的一列分成多列
    java中selenium判断某个元素是否存在
    docker安装Ubuntu以及ssh连接
    Java8 将List<JavaBean>中某个属性取出来为单独的一个集合List<String>
  • 原文地址:https://www.cnblogs.com/takako_mu/p/1848442.html
Copyright © 2011-2022 走看看