How to resize URL / Address bar
I am running Firefox 91.9.0esr and would like to know how to resize the URL / Address bar. I have found out how to resize the search bar with the following changes in about:config and using userChrome but setting #urlbar-container {max-width: 100px !important;} does not work:
=======================
browser.urlbar.disableExtendForTests = True browser.urlbar.openViewOnFocus = False
1) Type about:config in the browser's address bar. 2) Confirm at the prompt that you will accept the risk and to view all. 3) Search for the following configuration preferences and set them all to FALSE (go slow):
browser.urlbar.openViewOnFocus = False browser.urlbar.update1 = False browser.urlbar.update1.interventions = False browser.urlbar.update1.searchTips = False browser.urlbar.update1.view.stripHttps = False
browser.urlbar.maxRichResults = 0 (Default = 10)
Todas as respostas (6)
You mention the address bar and the search bar. If you have both, place the mouse pointer between them and drag it to the right if you want to widen the address bar.
I suspect you mean height. You could try this in your userChrome.css. (Use max-height or height instead of min-height if you prefer.)
#urlbar { min-height: 100px !important; }
I did mean width.
Does that mean you want to reduce the width of the address bar and increase the width of the search bar? If so, drag the mouse pointer to the left. You may have to comment the relevant code in your userChrome.css and restart first.
I deleted the max-width and no drag handles. If I leave max-width in, the address bar is smaller but still uncontrollable.
The screenshot shows what I have had available since I don't remember when. I think you would also need to comment your code relating to the search bar. BTW, you can search the about:config preferences on searchfox. org. A screenshot of your nav bar may help.
I have given up on this because it was causing a problem with the URL bar drop down list. Thanks to all for their input.