Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
3.2 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <html>
  3. <head>
  4. <style>
  5. a:link {font:8pt/11pt verdana; color:red}
  6. a:visited {font:8pt/11pt verdana; color:#4e4e4e}
  7. </style>
  8. <meta HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
  9. <title>HTTP 410 Gone</title>
  10. </head>
  11. <script>
  12. function Homepage(){
  13. // in real bits, urls get returned to our script like this:
  14. // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
  15. //For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
  16. DocURL=document.location.href;
  17. //this is where the http or https will be, as found by searching for :// but skipping the res://
  18. protocolIndex=DocURL.indexOf("://",4);
  19. //this finds the ending slash for the domain server
  20. serverIndex=DocURL.indexOf("/",protocolIndex + 3);
  21. //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
  22. //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
  23. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
  24. BeginURL=DocURL.indexOf("#",1) + 1;
  25. urlresult=DocURL.substring(BeginURL,serverIndex);
  26. if (protocolIndex - BeginURL > 7)
  27. urlresult=""
  28. //for display, we need to skip after http://, and go to the next slash
  29. displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
  30. // Security precaution: must filter out "urlResult" and "displayresult"
  31. forbiddenChars = new RegExp("[<>\'\"]", "g"); // Global search/replace
  32. urlresult = urlresult.replace(forbiddenChars, "");
  33. displayresult = displayresult.replace(forbiddenChars, "");
  34. document.write('<A target=_top HREF="' + urlresult + '">' + displayresult + "</a>");
  35. }
  36. function doSearch()
  37. {
  38. saOC.NavigateToDefaultSearch();
  39. }
  40. function initPage()
  41. {
  42. document.body.insertAdjacentHTML("afterBegin","<object id=saOC CLASSID='clsid:B45FF030-4447-11D2-85DE-00C04FA35C89' HEIGHT=0 width=0></object>");
  43. }
  44. </script>
  45. <body bgcolor="white" onload="initPage()">
  46. <table width="400" cellpadding="3" cellspacing="5">
  47. <tr>
  48. <td id="tableProps" valign="top" align="left"><img id="pagerrorImg" SRC="pagerror.gif"
  49. width="25" height="33"></td>
  50. <td id="tableProps2" align="left" valign="middle" width="360"><h1 id="errortype"
  51. style="COLOR: black; FONT: 13pt/15pt verdana"><span id="errorText"> The page does not exist</span></h1>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td id="tablePropsWidth" width="400" colspan="2"><font
  56. style="COLOR: black; FONT: 8pt/11pt verdana">The page you are looking for has been removed.</font></td>
  57. </tr>
  58. <tr>
  59. <td id="LID1" width="400" colspan="2"><font id="LID2"
  60. style="COLOR: black; FONT: 8pt/11pt verdana"><hr color="#C0C0C0" noshade>
  61. <p id="LID3">You might find the information you need by opening the <script> Homepage(); </script> home page and
  62. then linking to a similiar page. </p>
  63. <p id="LID4">Click <a href="javascript:doSearch()"><img border=0 src="search.gif" width="16" height="16" alt="search.gif (114 bytes)" align="center"> Search</a> to look for information on the Internet.</p>
  64. <p><br>
  65. </p>
  66. <h2 id="ietext" style="font:8pt/11pt verdana; color:black">HTTP Error 410 - Permanently
  67. not available<br>
  68. Internet Explorer </h2>
  69. </font></td>
  70. </tr>
  71. </table>
  72. </body>
  73. </html>