зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1401137 - Updated hard-coded SUMO link to the safe browsing page. r=johannh
The link to the phishin-malware support site was hard-coded in bug 1363051 and bug 1359289. The links have been built through the urlFormatter. MozReview-Commit-ID: FmKGcEM4GZd --HG-- extra : rebase_source : bc73ff0d7ad87e9e5b36aa831a851e1aef443348
This commit is contained in:
Родитель
95dc83229e
Коммит
0ebbbb8320
|
@ -197,7 +197,7 @@ var AboutBlockedSiteListener = {
|
|||
|
||||
// Set the firefox support url.
|
||||
doc.getElementById("firefox_support").setAttribute("href",
|
||||
"https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work");
|
||||
Services.urlFormatter.formatURLPref("app.support.baseURL") + "phishing-malware");
|
||||
|
||||
// Show safe browsing details on load if the pref is set to true.
|
||||
let showDetails = Services.prefs.getBoolPref("browser.xul.error_pages.show_safe_browsing_details_on_load");
|
||||
|
|
|
@ -1056,7 +1056,7 @@ var gPrivacyPane = {
|
|||
let blockUncommonPref = document.getElementById("browser.safebrowsing.downloads.remote.block_uncommon");
|
||||
|
||||
let learnMoreLink = document.getElementById("enableSafeBrowsingLearnMore");
|
||||
let phishingUrl = "https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work";
|
||||
let phishingUrl = Services.urlFormatter.formatURLPref("app.support.baseURL") + "phishing-malware";
|
||||
learnMoreLink.setAttribute("href", phishingUrl);
|
||||
|
||||
enableSafeBrowsing.addEventListener("command", function() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче