为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How do I get Firefox to display the full URI in the address bar?

  • 27 个回答
  • 11 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I've seen this answer, but it doesn't fully fix the problem: https://support.mozilla.org/en-US/questions/951487

When I look at the address bar, I want to see the actual URI of the page I'm on, not some mangled version of it. In other words, I want to see the address in the form that is valid in an <a/> tag in XHTML.

Setting browser.urlbar.trimURLs to false fixes HALF of the problem, but not all of it. If I type in "http://example.com/filename%20with%20spaces.ext", I should see "http://example.com/filename%20with%20spaces.ext". However, I instead see "http://example.com/filename with spaces.ext". The "%20"s are converted into spaces, which are not valid in a real URI. How do I fix the address bar to show the real address of the page?

EDIT: It seems to me that if someone sets the trim setting to false, the URI should not be trimmed in ANY way. This includes the shortening of %20 to a space character. Is this a bug?

I've seen this answer, but it doesn't fully fix the problem: https://support.mozilla.org/en-US/questions/951487 When I look at the address bar, I want to see the actual URI of the page I'm on, not some mangled version of it. In other words, I want to see the address in the form that is valid in an <a/> tag in XHTML. Setting browser.urlbar.trimURLs to false fixes HALF of the problem, but not all of it. If I type in "http://example.com/filename%20with%20spaces.ext", I should see "http://example.com/filename%20with%20spaces.ext". However, I instead see "http://example.com/filename with spaces.ext". The "%20"s are converted into spaces, which are not valid in a real URI. How do I fix the address bar to show the real address of the page? EDIT: It seems to me that if someone sets the trim setting to false, the URI should not be trimmed in ANY way. This includes the shortening of %20 to a space character. Is this a bug?

由0gb.us于修改

所有回复 (7)

more options

Hi mrphuntt, can you see the "domain" part of the URL?

Firefox leaves the domain in regular black type but makes the rest of the URL gray, the idea being that you can then more quickly verify that it's the actual site you want to be on. But depending on your theme or color scheme, this might make the rest of the URL too faint. You can adjust a setting to make the URL appear all in black type.

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box that appears above the list, type or paste urlbar and pause while the list is filtered

(3) Double-click browser.urlbar.formatting.enabled to switch it from its value from true (the default) to false. If you click another tab, is the URL more visible?


If you can't see any of it, perhaps you are using an incompatible theme or extension. Over the years, several extensions have caused this problem until they were updated. You could try updating your extensions, and/or try Firefox's Safe Mode using the default theme and having your extensions disabled to see whether that makes a difference. For advice on particular themse or extensions, it's easiest to start a new question, where you can more easily include that list.

  • To update extensions:

orange Firefox button (or Tools menu) > Add-ons > "gear" button > "Check for Updates"

You can restart Firefox in Safe Mode using

Help > Restart with Add-ons Disabled

In the dialog, click "Start in Safe Mode" (not Reset)

more options

Your instructions did the trick and when I toggled to a "false" formatting setting, that change now allows me to see the URL in the Address box.

Thanks for helping out on that!

more options

This doesn't fix the problem that the initial post is about. This changes the false URI from being a mix of grey and black to being just black, but the initial post is about the fact that URI-encoded (%-encoded) characters are incorrectly displayed decoded. FOr example, "%20" in a URI should display as just that: "%20". Instead, it displays as " ".

more options

Hi 0gb.us, you're right. Do you have the options to remove the "solution" designation from that post if you check to the right of it? If you don't, a moderator might be able to do it. (I'm not a moderator and don't know the details.)

more options

My apologies for possibly taking this series off target. I can see that the information that I used to solve my issue didn't solve the original issue the 0gb.us had.

more options

Okay, I see the option. Thanks!

No worries, no harm done. I just kind of panicked a little when I saw this question marked as solved. This seems like a serous bug and I didn't want it to be overlooked simply because it had been prematurely marked as solved.

more options

OK, I've removed the solution from [/questions/961465?page=2#answer-485924]

  1. 1
  2. 2