Firstly, this is not ethical without the site owners permission, this might be adding strain to his server for your benefit!
To click an element on a site you need to get it's element id and use that to automatically click, in this case the 'a' element to load the pages. The 'a' elements is contained in a div with id 'paginator', select each element inside and click it -
<script>
window.addEventListener('load', function() {
var links = document.querySelectorAll('.paginator a');
links.forEach(function(link) {
link.click();
});
});
</script>