X
Tap here to go to the mobile version of the site.

Support Forum

give search bar focus on startup or new tab

Posted

About half the time when I open Firefox I want to do a google search. Is there any way that I can set focus to the firefox search bar (located at top right) by default. Similarly, when I create a new tab, it would be nice to have to focus in the search bar again. I have the Super Start add-on running (similar to speed dial) so my browser opens to it instead of google search, which would be the most obvious solution.

About half the time when I open Firefox I want to do a google search. Is there any way that I can set focus to the firefox search bar (located at top right) by default. Similarly, when I create a new tab, it would be nice to have to focus in the search bar again. I have the Super Start add-on running (similar to speed dial) so my browser opens to it instead of google search, which would be the most obvious solution.

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.0 r1
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 1.6.0_29 for Mozilla browsers
  • 4.0.60831.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

More Information

David McRitchie 320 solutions 3092 answers

"Ctrl+K" will put you at the search bar, but you want to start a new tab, and you can do both by always having your search be presented in a new tab. As it is you can enter your search into the search bar then press "Alt+Enter" to open in a new tab.

Likewise if you type a url into the location bar ("Ctrl+L") and want it to be opened in a new tab instead of the current tab use "Alt+Enter".

But for search better to set your options. Keep in mind that any options set within Google would have to be done for each id and for unsigned in.

Google Search results > upper right corner gear/settings:
Results Window:  [x] Open search results in a new browser window.
Google no longer uses Target="_new", so this option does what it should, either opens in same window/tab, or opens in a new window/tab (not a reused window named "_new")

and then in your Firefox about:config settings:
browser.search.openintab   Boolean   True -- When performing a search from the Search Bar, open the results in a new tab.

Also see (perhaps a little better written 4 months ago)

Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.

"'''Ctrl+K'''" will put you at the search bar, but you want to start a new tab, and you can do both by always having your search be presented in a new tab. As it is you can enter your search into the search bar then press "'''Alt+Enter'''" to open in a new tab. Likewise if you type a url into the location bar ("'''Ctrl+L'''") and want it to be opened in a new tab instead of the current tab use "'''Alt+Enter'''". But for search better to set your options. Keep in mind that any options set within Google would have to be done for each id and for unsigned in. <p><b>Google Search results</b> &gt; upper right corner gear/settings: <br>Results Window:&nbsp; [x] Open search results in a new browser window. <br>Google no longer uses Target="_new", so this option does what it should, either opens in same window/tab, or opens in a new window/tab (not a reused window named "_new")</p> <p>and then in your Firefox <b>about:config</b> settings: <br><b>browser.search.openintab</b> &nbsp; Boolean &nbsp; <b>True</B> -- When performing a search from the Search Bar, open the results in a new tab.</p> Also see (perhaps a little better written 4 months ago) * https://support.mozilla.com/questions/840504 <p><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small></p>

Modified by David McRitchie

Question owner

Ctrl+K and Alt+Enter are great to know, thanks! But not quite what I was looking for. What I want is for my cursor to automatically be in the search box. The equivalent of pressing Ctrl+K, but without having to do that. So whenever I open Firefox, it's already there.

'''Ctrl+K''' and '''Alt+Enter''' are great to know, thanks! But not quite what I was looking for. What I want is for my cursor to automatically be in the search box. The equivalent of pressing '''Ctrl+K''', but without having to do that. So whenever I open Firefox, it's already there.
David McRitchie 320 solutions 3092 answers

You can have that in the default Firefox home page. Type about:home into the location bar to see if you like that -- I can't stand the page, but it acts like what you want.

The main point I'm trying to make is that there is no advantage to starting from a search page. You have a much better advantage starting from a search engine. There are also keyword shortcuts.

You can have that in the default Firefox home page. Type '''about:home''' into the location bar to see if you like that -- I can't stand the page, but it acts like what you want. The main point I'm trying to make is that there is no advantage to starting from a search page. You have a much better advantage starting from a search engine. There are also [http://dmcritchie.mvps.org/firefox/kws.htm keyword shortcuts].
rizla+ 0 solutions 1 answers

Personally i like to have my browser start on a blank page and then i commence my search from the search bar built in to firefox, im having the same problem as the op the question I'm asking and i think the op is asking the same thing, is there a way too have the cursor focus to the firefox (built in) search bar on opening? is there some about:config cursor focus setting? is there some script or something i could run when ff opens to Ctrl+k to my search bar

Personally i like to have my browser start on a blank page and then i commence my search from the search bar built in to firefox, im having the same problem as the op the question I'm asking and i think the op is asking the same thing, is there a way too have the cursor focus to the firefox (built in) search bar on opening? is there some about:config cursor focus setting? is there some script or something i could run when ff opens to Ctrl+k to my search bar

Modified by rizla+