Skip to content

Commit

Permalink
Disable the add-ons discovery pane as it hasn't/won't be updated agai…
Browse files Browse the repository at this point in the history
…n. Dial down phoning to Mozilla servers where possible.
  • Loading branch information
MrAlex94 committed Mar 17, 2018
1 parent 2e133a1 commit 8132766
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions browser/app/profile/firefox.js
Expand Up @@ -42,13 +42,14 @@ pref("extensions.webextPermissionPrompts", true);
pref("extensions.webextOptionalPermissionPrompts", true);

// Preferences for AMO integration

This comment has been minimized.

Copy link
@grahamperrin

grahamperrin Mar 20, 2018

Instead, maybe:

// Preferences for add-ons server integration

– or:

// Preferences for add-on services integration

sticky_pref("extensions.getAddons.cache.enabled", false);
sticky_pref("extensions.getAddons.cache.enabled", true);
pref("extensions.getAddons.showPane", false);
pref("extensions.getAddons.maxResults", 15);
pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%");
pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%");
pref("extensions.getAddons.getWithPerformance.url", "");
pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%&platform=%OS%&appver=%VERSION%");
pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=firefox");
pref("extensions.webservice.discoverURL", "https://discovery.addons.mozilla.org/%LOCALE%/firefox/discovery/pane/%VERSION%/%OS%/%COMPATIBILITY_MODE%");
pref("extensions.webservice.discoverURL", "");
pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=firefox");
pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/firefox/");
pref("extensions.getAddons.themes.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/themes/?src=firefox");
Expand Down

0 comments on commit 8132766

Please sign in to comment.