title: How to make all links in an iframe open in new tab
body: <p>I'm trying to make it so when you click on a link in an <code>&lt;iframe&gt;</code> it will open the link in a new tab - not in the <code>&lt;iframe&gt;</code>.   Please note I do not have control of the content the people are viewing through the <code>&lt;iframe&gt;</code>.  </p>
  
  <p>I'm trying to do this with javascript possibly, like <code>$('a').setAttribute('target','_blank');</code>
  but it's not working out for me.
  I also have in my HTML document <code>&lt;base target="_blank"&gt;</code>, that is not doing the trick too.</p>
  
  <p>Is this impossible?  Or am I just searching in the wrong places? 
  Thanks in advance!  </p>