title: I want to extract href value from hyperlink through document.querySelector
body: <pre><code>var x = document.querySelectorAll(".indexed-biz-name");
  
  for (i = 0; i &lt; x.length; i++) {
      document.write(x[i].innerHTML + "&lt;br&gt;");
  } 
  </code></pre>
  
  <p>When i run this code through greasemonkey it gives me <code>output</code> which is hyperlink in it. I want to extract the url within a same working.</p>