fune/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml
Johann Hofmann ac88585965 Bug 1502361 - Remove Content Blocking toggle from about:privatebrowsing. r=Ehsan
This simply removes the content blocking section when TP is not enabled to avoid overpromising.
We may update this UI to alert the user that TP is off after the UX team comes back with a new design.

Differential Revision: https://phabricator.services.mozilla.com/D10071

--HG--
extra : rebase_source : 6cf70948a142309edf06da3a53874bde2d7372e5
2018-10-29 17:10:24 +01:00

75 lines
3.4 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 % globalDTD SYSTEM "chrome://global/locale/global.dtd">
%globalDTD;
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
%browserDTD;
<!ENTITY % aboutPrivateBrowsingDTD SYSTEM "chrome://browser/locale/aboutPrivateBrowsing.dtd">
%aboutPrivateBrowsingDTD;
]>
<html xmlns="http://www.w3.org/1999/xhtml" class="private">
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:"/>
<link rel="icon" type="image/png" href="chrome://browser/skin/privatebrowsing/favicon.svg"/>
<link rel="stylesheet" href="chrome://browser/content/aboutPrivateBrowsing.css" type="text/css" media="all"/>
<link rel="stylesheet" href="chrome://browser/skin/privatebrowsing/aboutPrivateBrowsing.css" type="text/css" media="all"/>
<script type="application/javascript" src="chrome://browser/content/aboutPrivateBrowsing.js"></script>
</head>
<body dir="&locale.dir;">
<p class="showNormal">&aboutPrivateBrowsing.notPrivate;</p>
<button id="startPrivateBrowsing"
class="showNormal"
accesskey="&privatebrowsingpage.openPrivateWindow.accesskey;">&privatebrowsingpage.openPrivateWindow.label;</button>
<div class="showPrivate container">
<h1 class="title">
<span id="title">&privateBrowsing.title;</span>
</h1>
<section class="section-main">
<p>&aboutPrivateBrowsing.info.notsaved.before;<strong>&aboutPrivateBrowsing.info.notsaved.emphasize;</strong>&aboutPrivateBrowsing.info.notsaved.after;</p>
<div class="list-row">
<ul>
<li>&aboutPrivateBrowsing.info.visited;</li>
<li>&aboutPrivateBrowsing.info.cookies;</li>
<li>&aboutPrivateBrowsing.info.searches;</li>
<li>&aboutPrivateBrowsing.info.temporaryFiles;</li>
</ul>
</div>
<p>&aboutPrivateBrowsing.info.saved.before;<strong>&aboutPrivateBrowsing.info.saved.emphasize;</strong>&aboutPrivateBrowsing.info.saved.after2;</p>
<div class="list-row">
<ul>
<li>&aboutPrivateBrowsing.info.bookmarks;</li>
<li>&aboutPrivateBrowsing.info.downloads;</li>
<li>&aboutPrivateBrowsing.info.clipboard;</li>
</ul>
</div>
<p>&aboutPrivateBrowsing.note.before;<strong>&aboutPrivateBrowsing.note.emphasize;</strong>&aboutPrivateBrowsing.note.after;</p>
</section>
<h2 id="tpSubHeader" class="about-subheader">
<span id="cbTitle">&contentBlocking.title;</span>
</h2>
<section id="tpSection" class="section-main">
<p id="cbDescription">&contentBlocking.description;</p>
<p>
<a id="startTour" class="button">&trackingProtection.startTour1;</a>
</p>
</section>
<section class="section-main">
<p class="about-info">&aboutPrivateBrowsing.learnMore3.before;<a id="learnMore" target="_blank">&aboutPrivateBrowsing.learnMore3.title;</a>&aboutPrivateBrowsing.learnMore3.after;</p>
</section>
</div>
</body>
</html>