Talk:Browser.urlbar.default.behaviorFrom MozillaZine Knowledge Base
[edit] Possible values and their effectsAdded 0 (no filtering) which is the default for Firefox. [1] The default for SeaMonkey is 1 (History). [2] Alice 13:55, 22 September 2009 (UTC) Also, what about including 3 (visited bookmarks) as a possible value? http://mxr.mozilla.org/comm-central/source/mozilla/browser/app/profile/firefox.js 232 // The special characters below can be typed into the urlbar to either restrict 233 // the search to visited history, bookmarked, tagged pages; or force a match on 234 // just the title text or url. 235 pref("browser.urlbar.restrict.history", "^"); 236 pref("browser.urlbar.restrict.bookmark", "*"); 237 pref("browser.urlbar.restrict.tag", "+"); 238 pref("browser.urlbar.restrict.typed", "~"); 239 pref("browser.urlbar.match.title", "#"); 240 pref("browser.urlbar.match.url", "@"); 241 242 // The default behavior for the urlbar can be configured to use any combination 243 // of the restrict or match filters with each additional filter restricting 244 // more (intersection). Add the following values to set the behavior as the 245 // default: 1: history, 2: bookmark, 4: tag, 8: title, 16: url, 32: typed 246 // E.g., 0 = show all results (no filtering), 1 = only visited pages in history, 247 // 2 = only bookmarks, 3 = visited bookmarks, 1+16 = history matching in the url 248 pref("browser.urlbar.default.behavior", 0); Alice 13:55, 22 September 2009 (UTC) [edit] Combined valuesI'm also wondering, is the "visited bookmarks" value (3) the intersection (combination) of the restrictions, "only visited pages in history" (1) and "only bookmarks" (2)? If so, maybe you could add a "Combined values" paragraph underneath the main list of values, showing the effects of of various combinations. You could list "Visited bookmarks: 3 (1+2)" as well as the other examples already mentioned (17=History+match URL; 49=History+match URL+Typed)? Just a thought. Alice 21:37, 22 September 2009 (UTC)
I'm thinking about moving the default values text to above that table because the purpose of that list is to show the meaning of bits in the bit map that forms the pref and not the meaning of the value of the pref (then you will have to mention all possible 64: 0-63 values to be complete). Dick, I'm not going to make any additional changes to this article, then. Alice 23:06, 23 September 2009 (UTC) How about this text for the 'Possible values and their effects' section?
[edit] Default valuesI created a new "Default values" section for the preference value defaults for Firefox (0 - no filtering) and SeaMonkey 2 (1 - only History) since that information doesn't belong in the Background section. I still think that all possible values, including defaults, belong under the "Possible values and their effects" section but I'll compromise. Alice 11:03, 24 September 2009 (UTC) [edit] about:config entries articleBtw: I opened the browser. section in about:config and it is pretty big with 61 KB. We should be careful with adding extra prefs to that section or maybe break it in a few sub tables. I'm not sure if such a large table works for users with older and slower computers. --Dickvl 23:24, 23 September 2009 (UTC)
|
|