Using Google AJAX API to copy google results in array

This is some way you can results as a array that you can on any page, you first need to your Google API Key then try this code…

	//generate  web search object
	var searcher =  GwebSearch();
	//expand results to max - about 10
	//excute the search by adding  then collect the results in element with id='mydiv'
	searcher.setSearchCompleteCallback( searcher.execute( 'my ' ), 
										var results = searcher.results;
										(i in results)
											(a in results[i])
												document.getElementById("mydiv").innerHTML += results[i][a]+' | '} ); 

More Description on how to collect information from this array could be found here