title: Test if links are external with jQuery / javascript?
body: <p>How do I test to see if links are external or internal? Please note:</p>
  
  <ol>
  <li>I cannot hard code the local domain.</li>
  <li>I cannot test for "http". I could just as easily be linking to my own site with an http absolute link.</li>
  <li>I want to use jQuery / javascript, not css.</li>
  </ol>
  
  <p>I suspect the answer lies somewhere in location.href, but the solution evades me.</p>
  
  <p>Thanks!</p>