diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-06-02 01:34:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-02 01:34:01 +0200 |
commit | 571b7cdbed4dfbccef83e9208422e58eea504b6f (patch) | |
tree | 888393feffb61f88cac6c2cfbe58faac8da7a879 /browser/components/privatebrowsing | |
parent | d308bde8a31ae3e3a16b531af9a74de78deae53c (diff) | |
parent | d38e7b77846e346130acae2fe842dc91b1749556 (diff) | |
download | UXP-571b7cdbed4dfbccef83e9208422e58eea504b6f.tar UXP-571b7cdbed4dfbccef83e9208422e58eea504b6f.tar.gz UXP-571b7cdbed4dfbccef83e9208422e58eea504b6f.tar.lz UXP-571b7cdbed4dfbccef83e9208422e58eea504b6f.tar.xz UXP-571b7cdbed4dfbccef83e9208422e58eea504b6f.zip |
Merge pull request #424 from Ascrod/UITour
Remove UITour
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"> |