Search for selected text on google and open in *background* tab

Hi, I would like to be able to use a shortcut to search google for selected text but have it open a new tab in the background, rather than moving focus to the newly created tab. I saw a thread about it from a while back with an AppleScript work around, but for some reason the script isn't working and I was wondering if at this point there is a different way of doing it.