How can I load an external JavaScript file using a bookmarklet? This would overcome the URL length limitations of IE and generally keep things cleaner.
Firefox and perhaps others support multiline bookmarklets, no need for one liner. When you paste in the code it just replaces newlines with spaces.
javascript: var q = document.createElement('script'); q.src = 'http://svnpenn.github.io/bm/yt.js'; document.body.appendChild(q); void 0;
Example