[help] Greasemonkey Javascript

Hey, I am working on a greasemonkey script, which is just javascript.

Heres what I'm trying to do:

I want to get the URL in a variable for a source like the one below

<h3 id="title0">
<a href="http://www.google.com">Google</a>
</h3>

What would I do?

Thanks

#303254