Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

How do I increase the address bar dropdown menu size in FF42?

  • 7 antwoorden
  • 24 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van mikolajek

more options

Hi,

In FF42, the size of the adress bar dropdown menu is limited to 6 items, and to get to more items I have to scroll down. In FF41 and earlier, this used to be 14 items. How do I get the behaviour of FF41 back? Or how do I set a custom value for the drop down menu size?

I have browser.urlbar.maxRichResults set to 50. I have a big monitor + a high mouse scrolls speed, and I really don't like the 6 item cutoff. I don't use bookmarks. Instead, I use the dropdown menu to get to my often visited sites. 14 directly visible entries works fine for me most of the time, but 6 is severely limiting, and scrolling is becoming quite a hassle. Also, it simply is a waste of screen space.

Weirdly enough I do get 14 entries when I freshly start Firefox. However very soon the drop down menu narrows to 6 entries and stays like that until I close and restart the browser.

I don't have the FastestFox-addon installed.

Thanks.

Hi, In FF42, the size of the adress bar dropdown menu is limited to 6 items, and to get to more items I have to scroll down. In FF41 and earlier, this used to be 14 items. How do I get the behaviour of FF41 back? Or how do I set a custom value for the drop down menu size? I have browser.urlbar.maxRichResults set to 50. I have a big monitor + a high mouse scrolls speed, and I really don't like the 6 item cutoff. I don't use bookmarks. Instead, I use the dropdown menu to get to my often visited sites. 14 directly visible entries works fine for me most of the time, but 6 is severely limiting, and scrolling is becoming quite a hassle. Also, it simply is a waste of screen space. Weirdly enough I do get 14 entries when I freshly start Firefox. However very soon the drop down menu narrows to 6 entries and stays like that until I close and restart the browser. I don't have the FastestFox-addon installed. Thanks.

Gekozen oplossing

The rule I posted enlarges the maximum height, since I saw Firefox setting that to about half of the actual height. You can add a second line to override Firefox's value for the actual height:

#PopupAutoCompleteRichResult .autocomplete-richlistbox {
  max-height: 60em !important;
  height: 60em !important;
}

And that also seems to solve the problem with the matches that show as you type which I hadn't noticed before has only half the height of the other list.

Dit antwoord in context lezen 👍 5

Alle antwoorden (7)

more options

You could try overriding the standard length of 6 items using a custom style rule. You can apply custom style rules to Firefox's user interface using either the Stylish extension or a userChrome.css file. I use Stylish because it is easy to preview and experiment.

You can install Stylish from the Add-ons site: https://addons.mozilla.org/firefox/addon/stylish/

then:

(1) Select and copy this style block:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #PopupAutoCompleteRichResult .autocomplete-richlistbox {   max-height: 54em !important; }

(2) Click the Stylish "S" icon on the toolbar, then Write New Style > Blank Style. This should open a new tab. To work with your rule in a floating window, right-click the tab > Move to New Window, then you can resize it to your pleasure.

(3) In the large editing area, paste the rule. Then click Preview to see the effect. if it works, go ahead and give it a name and save it.

Note: In this case, the rule does not seem to affect existing windows, but if you click Preview and then launch a new window (Ctrl+n), the menu should show 14 items without scrolling.

Since fonts sizes may differ, if you find that you are only seeing 13 items, you can adjust the 54em (e.g., try 55em) (1 em is approximately 16 pixels).

more options

Hello jscher2000,

Thank you for your reply.

Could you please tell me what code I would have to add to my userChrome.css to get this tweak working? I'd rather not clutter up my toolbar or run another add-on if I don't have to. I already have the userChrome.css file (and use it to suppress certain buttons and menu items that aren't otherwise customizable).

Greetings.

more options

Hi Vlammetje, @namespace only needs to appear at the top of userChrome.css, so you would use the rest of the style block (the other 3 lines) in your file.

more options

I added the code and it seems to work. I'll need to test longer to be sure.

I also tried values of 60em and 80em to utilize more screen space, but while the drop down menu indeed very briefly gets even longer upon opening, it then immediately snaps back to the 54em height. Oh well, 54em is plenty and gives me 14 entries :)

However, when I then type a letter into the address bar to get url's containing it, the dropdown results window again snaps back to the 6 entries and a scroll bar. Would you know of a way to also increase the size of that menu?

Many thanks for the help so far.

more options

Gekozen oplossing

The rule I posted enlarges the maximum height, since I saw Firefox setting that to about half of the actual height. You can add a second line to override Firefox's value for the actual height:

#PopupAutoCompleteRichResult .autocomplete-richlistbox {
  max-height: 60em !important;
  height: 60em !important;
}

And that also seems to solve the problem with the matches that show as you type which I hadn't noticed before has only half the height of the other list.

more options

Yes. I've added the second line and set both to 61em for now, giving me neatly 16 results visible for both. So much more useful!

Thank you!

more options

You may also use Classic Theme Restorer add on for this - it has an appropriate option to display as many entries as it can.