From Brad Neuberg:
“I’ve put together a way to have huge, arbitrarily sized bookmarklets, where most of the code resides outside of the bookmarklet link. I’ll explain how this works in this mini-tutorial.
” … The essential idea is that we dynamically insert a new script element into the DOM through our bookmarklet. …”
“This code has been tested in IE 6+ and Firefox.”