diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index b166fefc2e2..6cba1d2ea70 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -70,11 +70,11 @@ pref("extensions.hideInstallButton", true); // Preferences for the Get Add-ons pane pref("extensions.getAddons.showPane", true); -pref("extensions.getAddons.browseAddons", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%"); +pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/%APP%"); pref("extensions.getAddons.maxResults", 5); -pref("extensions.getAddons.recommended.browseURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/recommended"); +pref("extensions.getAddons.recommended.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/recommended"); pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/featured/all/10/%OS%/%VERSION%"); -pref("extensions.getAddons.search.browseURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/search?q=%TERMS%"); +pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search?q=%TERMS%"); pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/10/%OS%/%VERSION%"); // Blocklist preferences @@ -87,7 +87,7 @@ pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/%APP_ID pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/"); // Dictionary download preference -pref("browser.dictionaries.download.url", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/dictionaries/"); +pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/%APP%/dictionaries/"); // Update Timer Manager preferences // Interval: When all registered timers should be checked (in milliseconds) @@ -279,7 +279,7 @@ pref("browser.download.manager.scanWhenDone", true); pref("browser.download.manager.resumeOnWakeDelay", 10000); // search engines URL -pref("browser.search.searchEnginesURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/search-engines/"); +pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search-engines/"); // pointer to the default engine name pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties"); @@ -706,8 +706,8 @@ pref("browser.safebrowsing.provider.0.reportMalwareURL", "http://{moz:locale}.ma pref("browser.safebrowsing.provider.0.reportMalwareErrorURL", "http://{moz:locale}.malware-error.mozilla.com/?hl={moz:locale}"); // FAQ URLs -pref("browser.safebrowsing.warning.infoURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/firefox/phishing-protection/"); -pref("browser.geolocation.warning.infoURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/firefox/geolocation/"); +pref("browser.safebrowsing.warning.infoURL", "http://www.mozilla.com/%LOCALE%/%APP%/phishing-protection/"); +pref("browser.geolocation.warning.infoURL", "http://www.mozilla.com/%LOCALE%/%APP%/geolocation/"); // Name of the about: page contributed by safebrowsing to handle display of error // pages on phishing/malware hits. (bug 399233) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 24fb1f3e370..c5d681096f7 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -6292,8 +6292,8 @@ function undoCloseWindow(aIndex) { /** * Format a URL * eg: - * echo formatURL("http://%LOCALE%.amo.mozilla.org/%LOCALE%/%APP%/%VERSION%/"); - * > http://en-US.amo.mozilla.org/en-US/firefox/3.0a1/ + * echo formatURL("https://addons.mozilla.org/%LOCALE%/%APP%/%VERSION%/"); + * > https://addons.mozilla.org/en-US/firefox/3.0a1/ * * Currently supported built-ins are LOCALE, APP, and any value from nsIXULAppInfo, uppercased. */ diff --git a/other-licenses/branding/firefox/branding.nsi b/other-licenses/branding/firefox/branding.nsi index 8172c2c79bb..ef16db801f8 100644 --- a/other-licenses/branding/firefox/branding.nsi +++ b/other-licenses/branding/firefox/branding.nsi @@ -42,6 +42,6 @@ # instead of BrandFullName and typically should not be modified. !define BrandFullNameInternal "Mozilla Firefox" !define CompanyName "Mozilla Corporation" -!define URLInfoAbout "http://${AB_CD}.www.mozilla.com/${AB_CD}/" -!define URLUpdateInfo "http://${AB_CD}.www.mozilla.com/${AB_CD}/firefox/" +!define URLInfoAbout "http://www.mozilla.com/${AB_CD}/" +!define URLUpdateInfo "http://www.mozilla.com/${AB_CD}/firefox/" !define SurveyURL "https://survey.mozilla.com/1/Mozilla%20Firefox/${AppVersion}/${AB_CD}/exit.html" diff --git a/other-licenses/branding/firefox/pref/firefox-branding.js b/other-licenses/branding/firefox/pref/firefox-branding.js index aae592c1644..25bcda492bd 100644 --- a/other-licenses/branding/firefox/pref/firefox-branding.js +++ b/other-licenses/branding/firefox/pref/firefox-branding.js @@ -1,5 +1,5 @@ -pref("startup.homepage_override_url","http://%LOCALE%.www.mozilla.com/%LOCALE%/%APP%/%VERSION%/whatsnew/"); -pref("startup.homepage_welcome_url","http://%LOCALE%.www.mozilla.com/%LOCALE%/%APP%/%VERSION%/firstrun/"); +pref("startup.homepage_override_url","http://www.mozilla.com/%LOCALE%/%APP%/%VERSION%/whatsnew/"); +pref("startup.homepage_welcome_url","http://www.mozilla.com/%LOCALE%/%APP%/%VERSION%/firstrun/"); // Interval: Time between checks for a new version (in seconds) // nightly=6 hours, official=24 hours pref("app.update.interval", 86400); @@ -11,10 +11,10 @@ pref("app.update.download.backgroundInterval", 600); pref("app.update.url.manual", "http://www.firefox.com"); // A default value for the "More information about this update" link // supplied in the "An update is available" page of the update wizard. -pref("app.update.url.details", "http://%LOCALE%.www.mozilla.com/%LOCALE%/%APP%/releases/"); +pref("app.update.url.details", "http://www.mozilla.com/%LOCALE%/%APP%/releases/"); // Release notes URL -pref("app.releaseNotesURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/%APP%/%VERSION%/releasenotes/"); +pref("app.releaseNotesURL", "http://www.mozilla.com/%LOCALE%/%APP%/%VERSION%/releasenotes/"); pref("browser.search.param.yahoo-fr", "moz35"); pref("browser.search.param.yahoo-fr-cjkt", "moz35"); diff --git a/toolkit/components/urlformatter/public/nsIURLFormatter.idl b/toolkit/components/urlformatter/public/nsIURLFormatter.idl index 47df3d92b2c..dff1e1b22b1 100644 --- a/toolkit/components/urlformatter/public/nsIURLFormatter.idl +++ b/toolkit/components/urlformatter/public/nsIURLFormatter.idl @@ -43,7 +43,7 @@ * Mozilla Applications linking to Mozilla websites are strongly encouraged to use * URLs of the following format: * - * http[s]://%LOCALE%.%SERVICE%.mozilla.[com|org]/%LOCALE%/ + * http[s]://%SERVICE%.mozilla.[com|org]/%LOCALE%/ */ #include "nsISupports.idl" diff --git a/toolkit/components/urlformatter/src/nsURLFormatter.js b/toolkit/components/urlformatter/src/nsURLFormatter.js index b943d68e78e..bd68d14ac30 100644 --- a/toolkit/components/urlformatter/src/nsURLFormatter.js +++ b/toolkit/components/urlformatter/src/nsURLFormatter.js @@ -42,7 +42,7 @@ * Mozilla Applications linking to Mozilla websites are strongly encouraged to use * URLs of the following format: * - * http[s]://%LOCALE%.%SERVICE%.mozilla.[com|org]/%LOCALE%/ + * http[s]://%SERVICE%.mozilla.[com|org]/%LOCALE%/ */ const Cc = Components.classes;