搜索 | 用户支持

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

Learn More

I have a custom newtab index.html page set in about:config. Is there a way to hide the url (file:///foo/bar/index.html) from showing in the address bar?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 crshbndct

more options

I have created a customised newtab page, which I set to show up when I click the new tab button in about:config, and in previous versions (up to 21) of Firefox, when I opened a new tab, the URL bar would show the default "Search or enter URL" slightly greyed out text. Ever since updating to 22, and now 23, it shows file:///home/user/.startpage/index.html which is the path to the new tab page. It is quite a considerable inconvenience, since I use the middle click-paste functionality of Linux quite a bit, and I end up pasting the path to my new tab file, since it recopies text that is selected. I tried it in Safe Mode, and with my userChrome.css disabled and I got the same behavior

Thank you in advance for any help on this matter.

I have created a customised newtab page, which I set to show up when I click the new tab button in about:config, and in previous versions (up to 21) of Firefox, when I opened a new tab, the URL bar would show the default "Search or enter URL" slightly greyed out text. Ever since updating to 22, and now 23, it shows file:///home/user/.startpage/index.html which is the path to the new tab page. It is quite a considerable inconvenience, since I use the middle click-paste functionality of Linux quite a bit, and I end up pasting the path to my new tab file, since it recopies text that is selected. I tried it in Safe Mode, and with my userChrome.css disabled and I got the same behavior Thank you in advance for any help on this matter.

所有回复 (2)

more options

I don't think that this is possible. You can press the ESC key to select all the text in the location bar if necessary.

more options

Thank you for the reply. I can understand if it was changed intentionally for some reason, though I can't think what that reason might be.

I know that it definitely works fine in Firefox 21, and changed in Firefox22 and 23 (I tested the beta, aurora and nightly versions and the behavior is the same as 22 & 23 there too)

I have attached two screen shots of what it looks like when I open a new tab on firefox 21 vs firefox 23. When I use a completely new profile (or even on a different operating system), the behavior is consistent as well, so I think this is definitely something that changed from 22 onwards. (link titles changed)

I should add, this quite drastically changes the way I use firefox, because I am no longer able to use middle click to paste URLs or search terms into the URL bar. I might select the out put of an error message in a terminal and then just middle click to paste in the bar and hit enter to go from there.

由crshbndct于修改