How do I hook into a contribution thank you page?
I would think that using a custom template would work, there is a thank you page template. If it is only one contribution page you're looking to add, some quick logic based on contribution page id would work. You can also try some custom behaviors with jQuery: https://civicrm.org/blogs/dave-greenberg/now-its-easier-add-custom-behaviors-templates