summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-10 20:46:30 +0200
committerGitHub <noreply@github.com>2018-06-10 20:46:30 +0200
commit27783db85a4d3c38b041e51b088ed2dbd35e96c1 (patch)
treebdecff2c72ae61e598585a2821a53c523fc89a4a /application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml
parent25f9c54aded0f514e6be7eb3105fcdb214431a59 (diff)
parent7128f0d21de4d03be75133fbbd698f996fcd2a50 (diff)
downloadUXP-27783db85a4d3c38b041e51b088ed2dbd35e96c1.tar
UXP-27783db85a4d3c38b041e51b088ed2dbd35e96c1.tar.gz
UXP-27783db85a4d3c38b041e51b088ed2dbd35e96c1.tar.lz
UXP-27783db85a4d3c38b041e51b088ed2dbd35e96c1.tar.xz
UXP-27783db85a4d3c38b041e51b088ed2dbd35e96c1.zip
Merge pull request #469 from JustOff/PR_SB_DoNotTrack
[BASILISK] Remove tracking protection controls from the UI if safebrowsing isn't built
Diffstat (limited to 'application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml')
-rw-r--r--application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml b/application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml
index 36058efa5..c27de6994 100644
--- a/application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml
+++ b/application/basilisk/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml
@@ -35,7 +35,9 @@
<div class="showPrivate about-content-container">
<h1 class="title">
<span id="title">&privateBrowsing.title;</span>
+#ifdef MOZ_SAFE_BROWSING
<span id="titleTracking">&privateBrowsing.title.tracking;</span>
+#endif
</h1>
<section class="section-main">
<p>&aboutPrivateBrowsing.info.notsaved.before;<strong>&aboutPrivateBrowsing.info.notsaved.emphasize;</strong>&aboutPrivateBrowsing.info.notsaved.after;</p>
@@ -61,6 +63,7 @@
</p>
</section>
+#ifdef MOZ_SAFE_BROWSING
<h2 id="tpSubHeader" class="about-subheader">
<span class="tpTitle">&trackingProtection.title;</span>
<input id="tpToggle" class="toggle toggle-input" type="checkbox"/>
@@ -70,6 +73,7 @@
<section class="section-main">
<p>&trackingProtection.description2;</p>
</section>
+#endif
<section class="section-main">
<p class="about-info">&aboutPrivateBrowsing.learnMore2;