搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox 7.0 Location Bar omits prefix "http://"

  • 4 回覆
  • 20 有這個問題
  • 1 次檢視
  • 最近回覆由 mstrultan

more options

I just "upgraded" Firefox from 6.0.2 to 7.0.1 and now suddenly my Location Bar fails to display the "http://" at the beginning of web sites I am visiting.

For example, Was: http://www.aa.com/ Is now: www.aa.com

If the prefix is something else, like https:// or ftp:// or file:// then it is still properly displayed. I guess I'm supposed to figure out that if it isn't shown at all then it must be http:// but I would rather it always be explicitly displayed just like it was in earlier versions. How can I restore this behavior?

I just "upgraded" Firefox from 6.0.2 to 7.0.1 and now suddenly my Location Bar fails to display the "http://" at the beginning of web sites I am visiting. For example, Was: http://www.aa.com/ Is now: www.aa.com If the prefix is something else, like https:// or ftp:// or file:// then it is still properly displayed. I guess I'm supposed to figure out that if it isn't shown at all then it must be http:// but I would rather it always be explicitly displayed just like it was in earlier versions. How can I restore this behavior?

被選擇的解決方法

The protocol (http://) has been removed from the URL in the location bar for http:// pages only. https:// pages will still have the protocol. This may be confusing to some users. There's also a known bug where if you copy the URL after selecting it from the awesome bar dropdown (but before loading the page) it won't include the http:// part.

Users can revert to the old behavior by setting browser.urlbar.trimURLs to false in about:config

  1. type about:config in the Location/URL/Address bar and press the Enter key
  2. if you see a warning, accept it (promise to be careful)
  3. Filter = browser.urlbar.trimURLs
  4. double-click on the pref in the lower panel to toggle it to "false" OR right-click on the pref in the lower panel and choose "Toggle" to toggle it to "false"
  5. close the about:config tab


If this reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.



Does not relate to your question, but...

You have multiple old Java Console extensions that Java did not clean-up during updates. You need Java Console only if you do Java programming/development or debug Java applets on web pages. You can see them in Add-ons > Extensions, but you can not remove them from there. Removing them will not affect the functioning of Java on websites. You can manually remove them, if you do not do Java development work to avoid future, possible problems/conflicts:

Your old Java Console extensions:

  • Java Console 6.0.24 {CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA}



Not related to your question, but...

You may need to update some plug-ins. Check your plug-ins and update as necessary:

從原來的回覆中察看解決方案 👍 20

所有回覆 (4)

more options

選擇的解決方法

The protocol (http://) has been removed from the URL in the location bar for http:// pages only. https:// pages will still have the protocol. This may be confusing to some users. There's also a known bug where if you copy the URL after selecting it from the awesome bar dropdown (but before loading the page) it won't include the http:// part.

Users can revert to the old behavior by setting browser.urlbar.trimURLs to false in about:config

  1. type about:config in the Location/URL/Address bar and press the Enter key
  2. if you see a warning, accept it (promise to be careful)
  3. Filter = browser.urlbar.trimURLs
  4. double-click on the pref in the lower panel to toggle it to "false" OR right-click on the pref in the lower panel and choose "Toggle" to toggle it to "false"
  5. close the about:config tab


If this reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.



Does not relate to your question, but...

You have multiple old Java Console extensions that Java did not clean-up during updates. You need Java Console only if you do Java programming/development or debug Java applets on web pages. You can see them in Add-ons > Extensions, but you can not remove them from there. Removing them will not affect the functioning of Java on websites. You can manually remove them, if you do not do Java development work to avoid future, possible problems/conflicts:

Your old Java Console extensions:

  • Java Console 6.0.24 {CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA}



Not related to your question, but...

You may need to update some plug-ins. Check your plug-ins and update as necessary:

more options

Thankfully, after some trial-and-error experiments I discovered the solution:

  1. Go to about.config
  2. Set browser.urlbar.trimURLs to false
  3. Restart Firefox

Now an editorial comment: I think it's fine that new versions offer optional new "features" even if of dubious value like this one, but they should be "opt-in" not "opt-out". That is, users should be informed of them so they can enable them only if they want to. They should not be automatically imposed on unsuspecting users who then have to go to great trouble to figure out how to restore the behavior they have come to trust and depend on.

more options

Thank you, SafeBrowser, Setting browser.urlbar.trimURLs to false restored the old, desired behavior. I hope you saw my "editorial comment" following my independent discovery of this fix, in the post following yours.

Thanks for the link with instructions on removing the old Java Console plugins. I had wondered how to do that.

Regarding the plug-in version checker: I don't use Adobe Reader because I have the full Acrobat Pro product, ver 9.4.6. I am happy with it and don't want to pay for version 10.x How can I get Plug-In Checker to understand that and stop telling me to install the newest Adobe Reader?

    - Rich
more options

I was so happy to find a fix for this. I often copy/paste links and some are not live without the http:// Ex: en.wikipedia.org I don't think omitting it by default was a good idea AT ALL.