Who will tell you which commands will allow you to open all the links on the page, well, or a couple, in a new tab, what cycle can it be?

    1 answer 1

    var a = document.getElementsByTagName('a'); for(var i = 0, il = a.length; i < il; ++i){ window.open(a[i].href); } 

    Opens windows for all links <a> . Yes, and for the counters too. =)