MoonchildProductions/Pale-Moon — pull request #7 by mattatobin (2014-09-30 14:36:05+00:00)
Title: Update Add-on Manager internal link prefs to point to Pale Moon Add-ons Site

Related nginx config for future reference:

# extensions.getAddons.get.url and extensions.getAddons.getWithPerformance.url
location ~* /integration/addon-manager/internal/get {
return 302 https://services.addons.mozilla.org/$arg_locale/firefox/api/1.5/search/guid:$arg_addonguid?src=firefox&appOS=$arg_os%&appVersion=24.9;
}

# extensions.getAddons.recommended.url
location ~* /integration/addon-manager/internal/recommended {
return 302 https://services.addons.mozilla.org/$arg_locale/firefox/api/1.5/list/featured/all/10/$arg_os/24.9;
}

# extensions.getAddons.search.url
location ~* /integration/addon-manager/internal/search {
return 302 https://services.addons.mozilla.org/$arg_locale/firefox/api/1.5/search/$arg_q/all/10/$arg_os/24.9;
}

# extensions.update.url and extensions.update.background.url
location ~* /integration/addon-manager/internal/update {
return 302
https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=$arg_reqVersion&id=$arg_id&version=$arg_status&maxAppVersion=$arg_status&status=$arg_&appID=%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D&appVersion=24.9&appOS=$arg_appOS&appABI=$arg_appABI&locale=$arg_locale¤tAppVersion=$arg_currentAppVersion&updateType=$arg_updateType&compatMode=$arg_compatMode;
}

# extensions.getAddons.recommended.browseURL
location ~* /integration/addon-manager/external/recommended {
return 302 https://addons.mozilla.org/firefox/recommended;
}

# extensions.getAddons.search.browseURL
location ~* /integration/addon-manager/external/search {
return 302 https://addons.mozilla.org/firefox/search?q=$arg_q;
}

# extensions.getMoreThemesURL
location ~* /integration/addon-manager/external/themes {
return 302 https://addons.mozilla.org/firefox/complete-themes/;
}