搜索 | 用户支持

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

Learn More

When changing "browser.newtab.url" is there any way to prevent the address bar from getting focus?

  • 10 个回答
  • 82 人有此问题
  • 11 次查看
  • 最后回复者为 anynick

more options

When I change "browser.newtab.url" to about:home and open a new tab, focus is set to the address bar not the search box on the firefox home page. The same thing happens if i change the url to google.com or another search engine. Is there any way to prevent this from happening.

When I change "browser.newtab.url" to about:home and open a new tab, focus is set to the address bar not the search box on the firefox home page. The same thing happens if i change the url to google.com or another search engine. Is there any way to prevent this from happening.

由Jon于修改

被采纳的解决方案

This has been fixed in version 14 and up.

定位到答案原位置 👍 3

所有回复 (10)

more options

I don't think that this is possible as I'mseeing the same if I click the new tab button (+) on the tab bar.
If you want to open the about:home Home page in a new tab then you can middle-click the toolbar Home button or create a bookmark on the Bookmarks Toolbar with the location set to about:home and middle-click that button.

more options

选择的解决方案

This has been fixed in version 14 and up.

more options

For those who don't want to wait for FF 14 this addons fixes the problem: Custom New Tab 1.6.1 https://addons.mozilla.org/de/firefox/addon/custom-new-tab/versions/1.6.1 This will set the focus to the search box

more options

Upgrading to Firefox 14b6 (Windows) did not fix this problem for me. However, installing the Custom New Tab extension (v1.6.1) did work. https://addons.mozilla.org/en-US/firefox/addon/custom-new-tab/versions/?page=1#version-1.6.1

more options

It works for me with the about:home page in the Firefox 14 beta, but not with the Google site.

more options

This does work with FF13 for new tabs - but if google is your home page, the first tab that opens when you start FF still puts the focus in the address bar not in the Google search box. At the moment I can find no way to fix this. It's not the add-ons fault, that is dealing with new tabs only, I guess.

more options

The above mentioned custom-new-tab extension promises to solve this problem.

Did you try this extension?

more options

No, it doesn't. That is, the add-on that I am using is Custom New Tab 1.6.1. It certainly DOES put the focus in the search box in new tabs - assuming you set the option for it to do that. But it doesn't have any effect on the first page you get when you open Firefox. I'm not surprised - the add-on is presumably only called when a new tab is created and however it detects that, it's obviously different when Firefox is first started and it doesn't get called.

I don't really blame the add-on - it has solved 90% of the problem. It's Firefox who are to blame, stealing focus because they think they know what's best for me.

more options

Custom new Tab has a small bug if the start page is exactly the same as the new tab page. Then the focus of the start page is on the address bar. Just leave the "www." out in the startpage and use "www." in the new tab page then it works perfectly. e.g. Startpage: google.com new Tab page : www.google.com Now the focus of the start page is on the search box.

more options

zibo: Great, thanks, that works properly. Good fix. Should work for a few days until the next upgrade comes along and ruins it, but thanks again anyway.