Hi, what's up, everybody. This is Edgar and this is the first time I come here.

So, straight to the point... There's a website I have to consult in order to have my invoices printed out. The problem is that I have over one thousand invoices to print, and I can only print them by clicking a button that opens a pop up window, which turns into a download dialog with the PDF file, one at a time... Which, of course, it's really time consuming and it may lead to errors.

I was checking the source code and the list of invoices had this html format for each invoice
Code:
<tr id="listCFDIs_row6"  class="even"  onmouseover="this.className='highlight'"  onmouseout="this.className='even'" >
<td>6</td>
<td style="text-align:center;" >650</td>
<td style="text-align:center;" >CCI971201KP1</td>
<td>XXXX(2)</td>
<td style="text-align:right;" >127525.74</td>
<td style="text-align:center;" >22/07/2014 16:05:08</td>
<td style="text-align:center;" ><img src='./imagenes/icons/activo16.png' style='border:0px'/></td>
<td style="text-align:center;" >Sin Pagos</td>
<td style="text-align:center;" ><a href=SCFDDetalle?sIdCFD=47398D67-331E-40AE-84E1-80E6C3107FED><img title='Ver detalle' border=0 src='./imagenes/icons/preliminar16.png' style='border:0px' title='Ver detalle'/></a><img title="Descargar PDF" src="imagenes/table/pdf.gif" class="img_cursor" onclick="window.open('SCFD2PDF?idcfd=47398D67-331E-40AE-84E1-80E6C3107FED','PDF', '' );"/><img title="Descargar XML" src="imagenes/icons/xml16.png" class="img_cursor" onclick="window.open('SXMLVer?idcfd=47398D67-331E-40AE-84E1-80E6C3107FED','XML', '' );"/><a href=SRegistrarPagoCFD?Id=47398D67-331E-40AE-84E1-80E6C3107FED><img src='./imagenes/icons/pago16.png' style='border:0px' title='Registrar pago'/></a></td>
	</tr>
This part is what I suppose I should be interested in:
Code:
onclick="window.open('SCFD2PDF?idcfd=47398D67-331E-40AE-84E1-80E6C3107FED','PDF', '' )
I know nothing about javascript but my intuiton tells me I could automate the downloads somehow... So what can I do? is the string after the "window.open" a complement of a URL or how do I deal with this?

I've tried a few extensions for chrome and firefox that are supposed to download all of the links, but none of the extensions listed the PDF files as a downloadable entity, they just list other things...


I have no idea what I have to do, but I hope there's a way. Thank you all for your time and sorry for the long first post.