搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to resize URL / Address bar

  • 6 个回答
  • 1 人有此问题
  • 8 次查看
  • 最后回复者为 disqus4190

more options

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)

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)

所有回复 (6)

more options

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; }
more options

I did mean width.

more options

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.

more options

I deleted the max-width and no drag handles. If I leave max-width in, the address bar is smaller but still uncontrollable.

more options

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.

more options

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.