notFound.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <html xmlns="http://www.w3.org/1999/xhtml" hasBrowserHandlers="true">
  2. <head>
  3. <title>找不到文件</title>
  4. <link rel="stylesheet" href="aboutNetError.css" type="text/css" media="all" />
  5. <!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
  6. toolkit/components/places/src/nsFaviconService.h should be updated. -->
  7. <link rel="icon" type="image/png" id="favicon" href="chrome://storage/errors/warning-16.png" />
  8. <script type="text/javascript" src="../jquery-1.10.2.min.js"></script>
  9. </head>
  10. <body dir="ltr">
  11. <!-- PAGE CONTAINER (for styling purposes only) -->
  12. <div id="errorPageContainer">
  13. <!-- Error Title -->
  14. <div id="errorTitle">
  15. <h1 id="errorTitleText">找不到文件</h1>
  16. </div>
  17. <!-- LONG CONTENT (the section most likely to require scrolling) -->
  18. <div id="errorLongContent">
  19. <!-- Short Description -->
  20. <div id="errorShortDesc">
  21. <p id="errorShortDescText">浏览器找不到文件!</p>
  22. </div>
  23. <!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
  24. <div id="errorLongDesc">
  25. <ul>
  26. <li>检查文件名的大小写或其他键入错误。</li>
  27. <li>检查文件是否已移动、重命名或删除。</li>
  28. </ul>
  29. </div>
  30. <!-- Override section - For ssl errors only. Removed on init for other
  31. error types. -->
  32. </div>
  33. <!-- Retry Button -->
  34. <!-- <button id="errorTryAgain" autocomplete="off" onclick="host.refreshActiveTab();" autofocus="true">Try Again</button>-->
  35. </div>
  36. <script>
  37. // read URL
  38. var urlVars = {};
  39. var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
  40. urlVars[key] = decodeURIComponent(value);
  41. });
  42. // show path
  43. $('#errorShortDescText').html("浏览器在此路径下找不到文件:<br><b>" + urlVars["path"] + "</b>");
  44. </script>
  45. </body>
  46. </html>