How to download scripts and stylesheets

With the help of some basic DOM manipulation and no AJAX at all it is possible to write some useful functions for downloading scripts and stylesheets after the page has been loaded.

{[.downloading /enzymes/chili-js.php]}