This is a search source code that uses the Google API.
It's relatively concise and practical. I tested it on my local machine.
In IE, there was a pseudo-freezing phenomenon, but it worked fine in FF.
I'm not sure if others experience this issue when using it. If anyone has tested it, you can let us know.
Below are the screenshots of usage: