Hacks basically give you full access to the the page so you can run any arbitrary Javascript you want. I offer that as a suggestion only if you're desperate and don't mind getting down into the weeds.
It would be great if you could file an enhancement request, it's always nice to get the requirements directly from a user. If I file a ticket I may not describe your use case accurately.