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

搜索 | 用户支持

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

详细了解

Address bar overwrites what I've written when page finishes loading

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

more options

When I want to do a google search I open a new tab and write my query into the address bar. Usually I open the new tab by finding a link on the current tab and opening it in a new tab. This works quite poorly because I usually start typing before the page has finished loading, and once the page has finished loading everything I've written up to that point is removed and replaced with the URL for the page I opened. Example:

From the current page I suddenly get the urge to google for good pasta recipies. So I right click the mozilla support banner and open it in a new tab. I go to that tab, click the address bar and start to write "best pasta recipie". In the middle of writing that sentence the page is done loading (which I don't realize, because I never learn, apparently) which means that what I end up submitting is 'https://support.mozilla.org/en-US/sta recipie'. To my disappointment I'm not redirected to a google search for the best pasta recipie.

This is incredibly annoying, since I run into this several times a day on average.

When I want to do a google search I open a new tab and write my query into the address bar. Usually I open the new tab by finding a link on the current tab and opening it in a new tab. This works quite poorly because I usually start typing before the page has finished loading, and once the page has finished loading everything I've written up to that point is removed and replaced with the URL for the page I opened. Example: From the current page I suddenly get the urge to google for good pasta recipies. So I right click the mozilla support banner and open it in a new tab. I go to that tab, click the address bar and start to write "best pasta recipie". In the middle of writing that sentence the page is done loading (which I don't realize, because I never learn, apparently) which means that what I end up submitting is 'https://support.mozilla.org/en-US/sta recipie'. To my disappointment I'm not redirected to a google search for the best pasta recipie. This is incredibly annoying, since I run into this several times a day on average.

所有回复 (7)

more options

This is regular Firefox behavior.

This is because when you click to open a link in a new tab, Firefox will begin to the load the built in new tab page (about:newtab) before directing the page to the link that you selected. The default new tab page does not display a URL in the address bar.

There is naturally a delay between Firefox opening the new tab and actually starting to load the content because computer codes are run one at a time. This delay may be more noticeable on older or slow systems. As far as I know, there is no way to change this behavior.

However, if I may suggest a work around to your issue, I would recommend adding the Firefox search bar to your toolbar and typing your search engine keywords in this instead of the location bar. You may also get a better result by clicking the new tab button in the tab bar to open a blank new tab instead of attempting to load content from the open in new tab option.

more options

Wesley Branton said

This is regular Firefox behavior. This is because when you click to open a link in a new tab, Firefox will begin to the load the built in new tab page (about:newtab) before directing the page to the link that you selected. The default new tab page does not display a URL in the address bar. There is naturally a delay between Firefox opening the new tab and actually starting to load the content because computer codes are run one at a time. This delay may be more noticeable on older or slow systems. As far as I know, there is no way to change this behavior. However, if I may suggest a work around to your issue, I would recommend adding the Firefox search bar to your toolbar and typing your search engine keywords in this instead of the location bar. You may also get a better result by clicking the new tab button in the tab bar to open a blank new tab instead of attempting to load content from the open in new tab option.

That explanation isn't fully consistent with my experience of the problem. From what I can see if I open a slower page than mozilla.org (what page you're browsing to seems to matter) is that yes, the page starts with no url, then the url is added and you can see that the page is loading (both on the spinning wheel icon on the tab and on the fact that content starts popping up on the actual page). This happens really fast, by the way - so fast I can barely start typing before it's done even if I try my best.

Then, once the page stops loading (the spinning wheel disappears and the page stops sprouting new content), what's written in the address bar is once again replaced with the url for the page, even though the user is typing.

I understand if the first url-replace is hard to get around but the second seems completely unnecessary. And even if there is a workaround (that I've tried to switch to but failed because of force of habit) this behavior should be replaced because throwing away user input like that is really bad design.

more options

Best would be to open a new tab via the plus instead of opening a link. You can possibly press the ESC key to stop the page loading if you aren't interested in the page/link that you have opened.

You can look at this extension to set the new tab page if you do not want to use the about:newtab page with the tiles:

more options

I have attempted to reproduce your issue, but haven't been able to. The URL does not replace content on my end.

Do you have any addons installed on your version of Firefox, specifically ones that will modify the appearance of Firefox?

If you don't, perhaps you should report this issue to the developers on Bugzilla so that they can take a look into patching this issue in newer versions of Firefox.

more options

Do you have test pilot installed? When I have the activity stream activated the new tab page.

If you filed a bug, can you post the url to the thread please. Thank you.

more options

I do not have the test pilot installed. I'm using ordinary firefox and has done so for years - this is something I've encountered on multiple OSes and on multiple computers.

The bug case can be found here: https://bugzilla.mozilla.org/show_bug.cgi?id=1275041

Sorry for the wait.

more options

If the page is still in the connecting state and doesn't show the URL in the location bar then best is to press the ESC key to stop the loading if you do not want to visit this page, but want to open another page. Otherwise Firefox will overwrite what you type once it has confirmed that the URL is valid.