forked from richardg867/WaybackProxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.html
22 lines (22 loc) · 801 Bytes
/
error.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<title>${code} ${reason}</title>
<script language="javascript"><!--
// Make websites look better by blanking out error pages in iframes.
// frameElement can be null or throw an error (IE) due to cross-origin
// policy, so blank out anyway if frameElement is missing, even though
// we can't tell what kind of frame we're in (iframe or frameset).
var co;
if (window.screenLeft != null) // IE4 lacks try-catch
eval('try { var x = window.frameElement; } catch (e) { co = true; }');
if (co || ((window.self != window.top) && (!window.frameElement || (window.frameElement.tagName != "FRAME"))))
document.location.href = "about:blank";
--></script>
</head>
<body>
<h1>${reason}</h1>
<p>${description}</p>
<hr>
<i>${signature}</i>
</body>
</html>