Ver código fonte

0850a+b+c urlbar+maxRichResults #125

clarifies usage of maxRichResults and cases of aberrant number of items displayed
Thorin-Oakenpants 8 anos atrás
pai
commit
c7b34d3b26
1 arquivos alterados com 14 adições e 8 exclusões
  1. 14 8
      user.js

+ 14 - 8
user.js

@@ -390,18 +390,24 @@ user_pref("browser.search.suggest.enabled", false);
  * [SETTING] Options>Search>Show search suggestions in location bar results ***/
 user_pref("browser.urlbar.suggest.searches", false);
 user_pref("browser.urlbar.userMadeSearchSuggestionsChoice", true); // (FF41+)
-/* 0850a: disable location bar autocomplete ***/
-user_pref("browser.urlbar.autocomplete.enabled", false);
-/* 0850b: disable location bar dropdown
- * This value used to control the maximum number of entries that could appear in the location
- * bar dropdown. This is no longer the case, and thus, it does *NOT* hide any suggestions ***/
-   // user_pref("browser.urlbar.maxRichResults", 0);
-/* 0850c: disable location bar suggestion types
+/* 0850a: disable location bar autocomplete [controlled by 0850b]
+   // user_pref("browser.urlbar.autocomplete.enabled", false);
+/* 0850b: disable location bar suggestion types [controls 0850a]
  * [SETTING] Options>Privacy>Location Bar>When using the location bar, suggest
- * [NOTE] If you wish to enable these suggestions, make sure 0850a is at default ***/
+ * [NOTE] If any of these are true, 0850a will be FORCED to true
+ * and if all three are false, 0850a will be FORCED to false
+ * [WARNING] If all three are false, search engine keywords are disabled ***/
 user_pref("browser.urlbar.suggest.history", false);
 user_pref("browser.urlbar.suggest.bookmark", false);
 user_pref("browser.urlbar.suggest.openpage", false);
+/* 0850c: disable location bar dropdown
+ * This value controls the total number of entries to appear in the location bar dropdown
+ * [NOTE] Items (bookmarks/history/openpages) with a high "frecency"/"bonus" will always
+ * be displayed (no we do not know how these are calculated or what the threshold is),
+ * and this does not affect the search by search engine suggestion (see 0808)
+ * [USAGE] This setting is only useful if you want to enable search engine keywords
+ * (i.e at least one of 0850b must be true) but you want to *limit* suggestions shown ***/
+   // user_pref("browser.urlbar.maxRichResults", 0);
 /* 0850d: disable location bar autofill
  * [1] http://kb.mozillazine.org/Inline_autocomplete ***/
 user_pref("browser.urlbar.autoFill", false);