pump the PDF sidebar

firefox’s PDF viewer is quite nice—particularly so if you consider that it’s all written in JavaScript. one thing that’s been bothering me was the size of the sidebar.

in my day job i tend to both read and write a number of architecture and specification documents, all of them sooner or later as PDFs. those PDF documents tend to have a rather deep structure—too deep to really fit into the sidebar of firefox’s PDF viewer. once i realized that the PDF viewer is written in JavaScript, CSS and HTML, i also realized that i was dealing with an open webapp. so, it should be possible to add a piece of greasemonkey script to firefox to pump the sidebar—how hard could it be?

“not very” is the answer, as you can see for yourself here:

[gist:id=9144703]

have fun ;-)