Menu

ScriptsDown

March 29th, 2013

ScriptsDownYSlow and PageSpeed both recommend moving Javascript files to the bottom of your page (PageSpeed recommends to defer javascripts). You can make changes to your template, but the scripts automatically added by components will always end up at the top! ScriptsDown is a plugin that moves ALL of your scripts to the bottom of the page just before the closing body tag (even IE conditionals). It doesn’t matter where they came from, the bottom is where they’ll end up.

Many extensions insert javascript into the body and head. This isn’t a set-and-forget plugin. It will require tuning. Some sites cannot function without javascripts in the head, and these sites may as well not run ScriptsDown. Remember to set the plugin order for ScriptDown to run LAST.

ScriptsDown requires properly formatted markup! Before implementing this plugin, test your site against the W3C validator. If your page doesn’t validate for your chosen doctype, then ScriptsDown will not work.

Update 1.13 Joomla 3.0 compatibility
Update 1.14 resolved minor naming error
Update 1.15 – cleared up some DOMDocument warnings
Update 1.16 – performance enhancement

4/26/2012 – Joomla 1.5/1.6/1.7 availability and support withdrawn.

Thanks for the bug reports!

All of my extensions are free and none of my extensions display advertisements or links to my sites or services. If you feel that I have blessed you, then you can bless me by making a contribution to fund future development. Visit the “Website” link to make a contribution.