Advertisement
Guest User

Facebook Down

a guest
Aug 26th, 2016
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.05 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html id="facebook" lang="en"><head>
  3. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  4.     <title>Facebook | Error</title>
  5.     <meta charset="utf-8">
  6.     <meta http-equiv="cache-control" content="no-cache">
  7.     <meta http-equiv="cache-control" content="no-store">
  8.     <meta http-equiv="cache-control" content="max-age=0">
  9.     <meta http-equiv="expires" content="-1">
  10.     <meta http-equiv="pragma" content="no-cache">
  11.     <meta name="robots" content="noindex,nofollow">
  12.     <style>
  13.       html, body {
  14.         color: #141823;
  15.         background-color: #e9eaed;
  16.         font-family: Helvetica, Lucida Grande, Arial,
  17.                      Tahoma, Verdana, sans-serif;
  18.         margin: 0;
  19.         padding: 0;
  20.         text-align: center;
  21.       }
  22.  
  23.       #header {
  24.         height: 30px;
  25.         padding-bottom: 10px;
  26.         padding-top: 10px;
  27.         text-align: center;
  28.       }
  29.  
  30.       #icon {
  31.         width: 30px;
  32.       }
  33.  
  34.       h1 {
  35.         font-size: 18px;
  36.       }
  37.  
  38.       p {
  39.         font-size: 13px;
  40.       }
  41.  
  42.       #footer {
  43.         border-top: 1px solid #ddd;
  44.         color: #9197a3;
  45.         font-size: 12px;
  46.         padding: 5px 8px 6px 0;
  47.       }
  48.     </style>
  49.   </head>
  50.   <body>
  51.     <div id="header">
  52.       <a href="https://www.facebook.com/">
  53.         <img id="icon" src="facebook-error_files/facebook_2x.png">
  54.       </a>
  55.     </div>
  56.     <div id="core">
  57.       <h1 id="sorry">Sorry, something went wrong.</h1>
  58.       <p id="promise">
  59.         We're working on it and we'll get it fixed as soon as we can.
  60.       </p>
  61.       <p id="back-link">
  62.         <a id="back" href="https://www.facebook.com/">Go Back</a>
  63.       </p>
  64.       <div id="footer">
  65.         Facebook
  66.         <span id="copyright">
  67.           © 2016
  68.         </span>
  69.         <span id="help-link">
  70.           ·
  71.           <a id="help" href="https://www.facebook.com/help/">Help Center</a>
  72.         </span>
  73.       </div>
  74.     </div>
  75.     <script>
  76.       document.getElementById('back').onclick = function() {
  77.         if (history.length > 1) {
  78.           history.back();
  79.           return false;
  80.         }
  81.       };
  82.  
  83.       // Adjust the display based on the window size
  84.       if (window.innerHeight < 80 || window.innerWidth < 80) {
  85.        // Blank if window is too small
  86.        document.body.style.display = 'none';
  87.      };
  88.      if (window.innerWidth < 200 || window.innerHeight < 150) {
  89.        document.getElementById('back-link').style.display = 'none';
  90.        document.getElementById('help-link').style.display = 'none';
  91.      };
  92.      if (window.innerWidth < 200) {
  93.        document.getElementById('sorry').style.fontSize = '16px';
  94.      };
  95.      if (window.innerWidth < 150) {
  96.        document.getElementById('promise').style.display = 'none';
  97.      };
  98.      if (window.innerHeight < 150) {
  99.        document.getElementById('sorry').style.margin = '4px 0 0 0';
  100.        document.getElementById('sorry').style.fontSize = '14px';
  101.        document.getElementById('promise').style.display = 'none';
  102.      };
  103.    </script>
  104.  
  105.  
  106. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement