title: Follow nth anchor|href via javascript
body: <p>I'm trying embed a PDF into a page I maintain. The problem: The source filename changes every week and can not be guessed (randomNumber.pdf). So that's a dead end.</p>
  
  <p>My next approach was the link on the main source site. It looks like following:</p>
  
  <p><a href="http://www.example.com/index.php?menuid=44&amp;downloadid=190&amp;reporeid=65" rel="nofollow">http://www.example.com/index.php?menuid=44&amp;downloadid=190&amp;reporeid=65</a></p>
  
  <p>Unfortunately the "downloadid" is not strictly ongoing.</p>
  
  <p>But a look into the sourcecode of that website reveales that the href I need is ALWAYS the 20th href on that site.</p>
  
  <p><strong>Is there a way to open the 20th href via javascript?</strong></p>
  
  <p>I wasn't able to find something useful or figure it out by myself - thanks to everybody who is trying to help!</p>