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?
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)
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.
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于