Modifying the jQuery dump plugin to not open in a new window
As it turns out it was pretty easy to modify the plugin to work how I wanted. To make the collapse/expand feature work I had to make the functions global but it is cool as long as you don’t have any functions on the page with the same name.
Here is an example page:
The dump results:
If you would like check out the dump plugin, here is my modified jqDump.js file.