Automated "Table of Links"

I tend to print web pages for reference when I am off-line and so I like to ensure that URLs are visible somewhere in the text. I have copied Leigh Dodd's footnoting technique in email for years and am now using it in this blog also. I am not always consistent with the technical details of laying out the the links and footnotes mostly because it is somewhat cumbersome to use in HTML. I need a tool. So I wrote some JavaScript that will add the footnotes automatically to end of each posting. Here is my test code.

Update: I have this working in this blog now.

Update Again: If you use an RSS reader to read this blog you will not see the table of links at the end of the posting.

Update Again & Again: I have discontinued the use of the table of links script on this blog. See next post.