# Automate Google Searching of Terms in Different Tabs

I have a list of terms, each on a new line.

I need to Google search each one.

I have been copy and pasting each term invidivually into a new tab, but I was wondering if there was a way to automate it.

What is the easiest way to open a new tab for each term and search in on Google?

(I am on OSX. If any browser has an easy solution, I don't mind using it, but prefer Chrome if it doesn't matter.)

• First, save the following code to a file:

<html>
<title>MultiSearch</title>
<script>
function search()
{
var queries = document.getElementsByTagName('textarea')[0].value.split(/[\r\n]/);
for(var i = 0, j = queries.length; i < j; i++)
if(queries[i])
}
</script>