This is very alpha code. I am no expert, but it seems enough blind flailing can lead somewhere.
This plugin is currently not compatible with Trac 0.12+
If you have any issues, create a new ticket.
Download the zipped source from here.
Use XML parser instead of HTML to fix potential collision with other plugins.
Initial commit, very alpha code I expect. But it works for me.