Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="UTF-8"?>
<!doctype html>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width; user-scalable=false;" />
<meta
http-equiv="Content-Security-Policy"
/>
<link rel="stylesheet" type="text/css" href="shared_error_style.css" />
<link
rel="stylesheet"
type="text/css"
href="low_and_medium_risk_error_style.css"
/>
</head>
<body id="errorPage" dir="auto">
<!-- PAGE CONTAINER (for styling purposes only) -->
<div id="errorPageContainer">
<!-- Error Image -->
<div id="imageContainer">
<img id="errorImage" src="" />
</div>
<!-- Error Title -->
<div id="errorTitle">
<h1 id="errorTitleText"></h1>
</div>
<!-- LONG CONTENT (the section most likely to require scrolling) -->
<div id="errorLongContent">
<div id="errorShortDesc"></div>
</div>
<div id="errorLinkContent"><a id="errorCode"></a></div>
<!-- Retry Button -->
<button id="errorTryAgain"></button>
<!-- Offer an archived copy of the page when the live site is unreachable. Hidden by
default via the #viewArchivedButton stylesheet rule (an inline style attribute would
be blocked by the page CSP, and the [hidden] attribute is overridden by `button {
display: block }`); shown from JS via element.style, which CSP does not restrict. -->
<button id="viewArchivedButton" class="buttonTertiary"></button>
<div id="archiveWarningContent" class="warningContainer" hidden>
<span id="archiveNotFoundText"></span><br />
<a id="archiveSearchWebLink" href="#"></a>
</div>
<div id="archiveErrorContent" class="warningContainer" hidden>
<span id="archiveUnreachableText"></span><br />
<a id="archiveRetryLink" href="#"></a>
</div>
<!-- Advanced Button -->
<button id="advancedButton" class="buttonSecondary hidden"></button>
<!-- "Go back" Button (For HTTPS-Only error page only) -->
<button id="backFromHttp"></button>
<!-- "Continue to HTTP site" Button (For HTTPS-Only error page only) -->
<button id="continueHttp" class="buttonSecondary"></button>
<hr id="horizontalLine" hidden />
<div id="advancedPanelContainer">
<div id="badCertAdvancedPanel" hidden class="advanced-panel">
<p id="badCertTechnicalInfo"></p>
<div
id="advancedPanelBackButtonContainer"
class="advancedPanelButtonContainer"
>
<button id="advancedPanelBackButton"></button>
</div>
<div
id="advancedPanelAcceptButtonContainer"
class="advancedPanelButtonContainer"
>
<button
id="advancedPanelAcceptButton"
class="buttonSecondary"
></button>
</div>
</div>
</div>
</div>
</body>
<script src="./lowMediumErrorPages.js"></script>
</html>