Is there a very simple way to select all H2 tags on the page, then take the text in those H2 tags and add the text of each one to a list.
example:
<H2>I'm number one!</H2>
<H2>I'm number two?</H2>
<H2>I'm number three.</H2>
the script will grab those, and copy their contents into a list when the page is loaded:
<UL>
<LI>I'm number one!</LI>
<LI>I'm number two?</LI>
<LI>I'm number three.</LI>
</UL>