Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When you select some text with Firefox and Chrome for that matter you can right click the highlight text and search

some query
(highlight the text above and right click)
Search Google for "some query"

How can I stop it from opening in the new tab. I cannot find it in about:config or chrome://plugins

I don't want it opened in the SAME tab. I want it opened in a NEW tab but I DON'T want Firefox/Chrome to automatically switch to the new tab once opened..

share|improve this question

2 Answers

up vote 2 down vote accepted

If you're referring to the internal "Search for.." of Firefox, probably there's no such option.

Well, in fact I'm surprised you want that behavior, but of course it's a matter of personal taste and work flow. But think of 'heavy' pages you're on -- when you search something and it opens in the same tab, and then you click 'Back', it will be a lot of work for the browser to re-render the page. The work flow is also different for me, because I often search not in Google, but look up words in dictionaries using Context Search add-on.

There's kind of similar option browser.search.context.loadInBackground recently added, saying whether to focus the new tab or not. Perhaps you should open an issue in Bugzilla.

Alternative workaround:

Instead of right clicking and choosing 'Search in Google', you can

  • make sure Google is selected as default search engine in the search field you have in top-right of the browser,
  • set browser.search.openintab to false (this affects only search from the search field),
  • select the text,
  • drag it from the page onto the search field of the Firefox.

That way you'll have it opened in the same tab.

share|improve this answer
I don't want it opened in the SAME tab. I want it opened in a NEW tab but I don't want Firefox to automatically switch to the new tab once opened.. – TheBlackBenzKid Jul 6 '12 at 8:37
1  
"How can I stop it from opening in the new tab" - I thought the opposite :) Set browser.search.context.loadInBackground = true (See the link: true: New tab with search results will be opened in the background, focus stays on the current tab) – jakub.g Jul 6 '12 at 9:03
Please attach link and I will mark as completed. – TheBlackBenzKid Jul 6 '12 at 9:38

This "search for selected text" probably comes from the installed GoogleBar or GoogleBar lite addon (at least it does with my FF). Open the first tab of its options, and uncheck "open search results in a new tab" should solve it.

share|improve this answer
There is no such thing as "Open the first tab of its options, and uncheck "open search results in a new tab" do you mean in the menu bar or something else? – TheBlackBenzKid Jul 6 '12 at 8:38
I mean the Googlebar (or Googlebar Lite) addon to Firefox. If you open its options, in the first tab (titled "General") the second checkbox reads "Open search results in a new tab (if necessary)". If you look into the last tab ("Context Menu"), you will find a checkbox titled "Search Web for selected text" -- so you see this is the responsible thing. And I cannot speak for Chrome (as I never used it), but just for Firefox. – Izzy Jul 6 '12 at 9:23
I do not want to use addons just default. Thanks. – TheBlackBenzKid Jul 6 '12 at 9:39
You're welcome -- I couldn't know that ;) – Izzy Jul 6 '12 at 10:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.