I need to test long list of links to see if they're real links or broken, i had the daft idea that rather than just click them one at a time, open every one at once, the work my way through the open tabs. The html looks something like this:
<a href="www.somelink.com"></a>
<a href="www.somelink.com"></a>
<a href="www.somelink.com"></a>
<a href="www.somelink.com"></a>
with the jQuery being:
$(document).ready(function(e) {
$('a').attr('target','_blank');
$('a').click();
});
The target="_blank"
works just fine, but the click
does not, why is my browser not going crazy and trying to open 50 news pages at once?