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.
+14
A:
Use a bookmarklet that creates a script tag which includes your external JS.
As a sample:
javascript:(function(){document.body.appendChild(document.createElement('script')).src='** your external file URL here **';})();
Miguel Ventura
2008-09-19 23:43:19