mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
50 lines
1.9 KiB
HTML
50 lines
1.9 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
# 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
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
<!DOCTYPE html [
|
|
<!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
|
|
%htmlDTD;
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
|
%brandDTD;
|
|
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
|
|
%globalDTD;
|
|
<!ENTITY % privatebrowsingpageDTD SYSTEM "chrome://browser/locale/aboutPrivateBrowsing.dtd">
|
|
%privatebrowsingpageDTD;
|
|
]>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1; user-scalable=no"/>
|
|
<link rel="stylesheet" href="chrome://browser/skin/aboutPrivateBrowsing.css" type="text/css" media="all"/>
|
|
<link rel="icon" type="image/png" href="chrome://branding/content/favicon32.png" />
|
|
<script type="application/javascript;version=1.7"><![CDATA[
|
|
const Ci = Components.interfaces;
|
|
const Cu = Components.utils;
|
|
|
|
Cu.import("resource://gre/modules/PrivateBrowsingUtils.jsm");
|
|
|
|
if (!PrivateBrowsingUtils.isWindowPrivate(window)) {
|
|
document.addEventListener("DOMContentLoaded", function () {
|
|
document.body.setAttribute("class", "normal");
|
|
}, false);
|
|
}
|
|
]]></script>
|
|
</head>
|
|
|
|
<body class="private">
|
|
<img class="showPrivate" src="chrome://browser/skin/images/privatebrowsing-mask.png" />
|
|
<h1 class="showPrivate">&privatebrowsingpage.title;</h1>
|
|
<h1 class="showNormal">&privatebrowsingpage.issueDesc.normal;</h1>
|
|
|
|
<div class="contentSection">
|
|
<p class="showPrivate">&privatebrowsingpage.description.private;</p>
|
|
<p class="showNormal">&privatebrowsingpage.description;</p>
|
|
|
|
<p>&privatebrowsingpage.moreInfo;</p>
|
|
</div>
|
|
</body>
|
|
</html>
|