That would be ... (but you will have to change http://www.google.com.br
because it will not load inside the IFrame.) . I was able to find a Google URL that works inside the IFrame, just so you can check it out.
$("body").on("click", "a", function(e) {
var target = $(this).attr("target");
if (target == '_blank') {
$("#meuIFrame").attr('src', $(this).attr("href"));
return false;
}
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><div><ahref="http://www.google.com/custom?q=&btnG=Search" target="_blank">Google</a>
</div>
<iframe id="meuIFrame" src="" style="width: 200px; height: 200px;"></iframe>
Just like the URL http://google.com.br
does not work, any URL whose response contains the X-Frame-Options: SAMEORIGIN
" will also not open inside the IFrame, unless you have how to place this HTML in the same URL source.