Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

petteri

macrumors member
Original poster
Aug 4, 2006
72
0
Hi,

When highlighting a word in Firefox you can then right click on it to do a google seach on that word. The search results are then displayed in a new tab. When I use Safari it does this within the current tab. Is there a way to change this to the method that Firefox uses? This is just about the only thing that bugs me about Safari. Thanks!

EDIT: See solution below! ;)
 
don't know how to get the new tab, but there is a google widget that works well. Copy the word, hit your dashboard hot corner, and paste the word into the widget. This will display the search result in a new window. Takes about 3 sec.
 
don't know how to get the new tab, but there is a google widget that works well. Copy the word, hit your dashboard hot corner, and paste the word into the widget. This will display the search result in a new window. Takes about 3 sec.

Thanks for the tip. If I can't get this feature in Safari I'll just continue to use Firefox. :(
 
From the Google Search Bar (upper-right corner), you can hold Cmd :)apple: ) while you hit enter and it'll open the search in a new tab.
 
From the Google Search Bar (upper-right corner), you can hold Cmd :)apple: ) while you hit enter and it'll open the search in a new tab.

Ahh, now we are getting somewhere! That's a good tip. But has anyone figured out a way to do exactly what Firefox does?
 
Ahh, now we are getting somewhere! That's a good tip. But has anyone figured out a way to do exactly what Firefox does?

Okay - found it :) Highlight the word, hold Cmd, right-click and select "Search In Google"; that should open in a new tab. Enjoy!
 
Okay - found it :) Highlight the word, hold Cmd, right-click and select "Search In Google"; that should open in a new tab. Enjoy!

Hah! I knew it could be done! I should have figured this out from the post before....

Great thanks everyone! :D
 
Okay - found it :) Highlight the word, hold Cmd, right-click and select "Search In Google"; that should open in a new tab. Enjoy!
Cool! Thanks for find this. Now does anybody know of a way to either disable the "Search in Spotlight" or move it below "Search in Google" in the context menu? I hate spotlight!
 
Cool! Thanks for find this. Now does anybody know of a way to either disable the "Search in Spotlight" or move it below "Search in Google" in the context menu? I hate spotlight!

I don't understand why people hate spotlight. There's nothing 'intrusive' or 'offensive' about it. It's a tool which is available for when you need to find a file quickly.

Although I did just accidentally hit 'search in spotlight' instead of google...
 
Create a new service

I have a broken arm and it's difficult to hold down cmd and click, so I found a workaround based on http://rentzsch.tumblr.com/post/5794765921/search-with-google-using-chrome

Open Automater -> Choose Service -> Find 'Run Shell Script' action and drag to workflow window -> Choose '/usr/bin/ruby' from Shell drop down menu -> type the following
Code:
require 'cgi'
`open 'http://www.google.com/search?q=#{CGI.escape(STDIN.read.chomp)}'`

Then save it with a title like "Search With Google (New Window)" and you are done.
 
I have a broken arm and it's difficult to hold down cmd and click, so I found a workaround based on http://rentzsch.tumblr.com/post/5794765921/search-with-google-using-chrome

Open Automater -> Choose Service -> Find 'Run Shell Script' action and drag to workflow window -> Choose '/usr/bin/ruby' from Shell drop down menu -> type the following
Code:
require 'cgi'
`open 'http://www.google.com/search?q=#{CGI.escape(STDIN.read.chomp)}'`

Then save it with a title like "Search With Google (New Window)" and you are done.

this is just what I was hoping to find. But 2 questions. 1 - do I replace the text that already appears when selecting the '.usr/bin/ruby" flow or add it somewhere. Also, when I save it, I save it...but spotlight can't find the file. I know I've added services before (once) and I had a file I had to move somehwere, right?

thanks!
 
this is just what I was hoping to find. But 2 questions. 1 - do I replace the text that already appears when selecting the '.usr/bin/ruby" flow or add it somewhere. Also, when I save it, I save it...but spotlight can't find the file. I know I've added services before (once) and I had a file I had to move somewhere, right?

thanks!

Yes, replace the default text with the code above. Once you save it, it should be ready to use (saved in the correct place already). Just right click in Safari, and at the bottom should be the service you saved with whatever name you gave it.

It will be saved in ~/your-user-name/Library/Services/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.