How can I locate links involving PDF's on an html page and then append the front of the link with an absolute path?
<p>I have an html page with a number of links on it. Some of the links connect to .pdf. </p>

<p>Is it possible to write javascript that upon the loading of the page -</p>

<ul>
<li><p>it scans through the html file and locates all links that are linking to .pdf</p></li>
<li><p>then appends the front of that url with a hard coded front end?</p></li>
</ul>

<p>All links on the page are relative, and I am having issues when these .pdf links are pulled up on an android tablet. But when I use the absolute path, it handles it no problem. So I just want to append the absolute path on the .pdf links.</p>
