diff options
author | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2018-05-31 18:37:37 -0400 |
---|---|---|
committer | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2018-05-31 18:37:37 -0400 |
commit | d1a4cabf485b4fb6e17411aefb6c6af761451992 (patch) | |
tree | 14aa76300d80f3ed6a4d978b8054f335e04131bf /browser/components/privatebrowsing | |
parent | b109b14de63500ab07c478723d4851b345139bdd (diff) | |
download | UXP-d1a4cabf485b4fb6e17411aefb6c6af761451992.tar UXP-d1a4cabf485b4fb6e17411aefb6c6af761451992.tar.gz UXP-d1a4cabf485b4fb6e17411aefb6c6af761451992.tar.lz UXP-d1a4cabf485b4fb6e17411aefb6c6af761451992.tar.xz UXP-d1a4cabf485b4fb6e17411aefb6c6af761451992.zip |
Remove tracking protection tour.
Diffstat (limited to 'browser/components/privatebrowsing')
-rw-r--r-- | browser/components/privatebrowsing/content/aboutPrivateBrowsing.js | 11 | ||||
-rw-r--r-- | browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml | 3 |
2 files changed, 0 insertions, 14 deletions
diff --git a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.js b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.js index 31ce96347..4434f7b6a 100644 --- a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.js +++ b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.js @@ -63,13 +63,9 @@ document.addEventListener("DOMContentLoaded", function () { document.getElementById("favicon") .setAttribute("href", FAVICON_PRIVACY); tpToggle.addEventListener("change", toggleTrackingProtection); - document.getElementById("startTour") - .addEventListener("click", dontShowIntroPanelAgain); let formatURLPref = Cc["@mozilla.org/toolkit/URLFormatterService;1"] .getService(Ci.nsIURLFormatter).formatURLPref; - document.getElementById("startTour").setAttribute("href", - formatURLPref("privacy.trackingprotection.introURL")); document.getElementById("learnMore").setAttribute("href", formatURLPref("app.support.baseURL") + "private-browsing"); @@ -89,10 +85,3 @@ function toggleTrackingProtection() { new CustomEvent("AboutPrivateBrowsingToggleTrackingProtection", {bubbles: true})); } - -function dontShowIntroPanelAgain() { - // Ask chrome to disable the doorhanger - document.dispatchEvent( - new CustomEvent("AboutPrivateBrowsingDontShowIntroPanelAgain", - {bubbles: true})); -} diff --git a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml index fb5c4ac8e..36058efa5 100644 --- a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml +++ b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml @@ -69,9 +69,6 @@ <section class="section-main"> <p>&trackingProtection.description2;</p> - <p> - <a id="startTour" class="button">&trackingProtection.startTour1;</a> - </p> </section> <section class="section-main"> |