<script type="text/javascript"> window.onload = function() { for(var i = 0, cant = document.links.length; i < cant; i++){ window.open(document.links[i].href); } } </script>