Extension:AddScript

What can this extension do?

 * Add tags (e.g. for Javascript) to the page's head section.

Better Option
See Extension:AddScriptCss.

Usage
The 'filename' must be located in 'home/jsscripts' directory and not be appended with the '.js' extension as it is automatically added.

Changes to LocalSettings.php
require_once("$IP/extensions/ExtensionName/AddScript.php");

Code
See download link for up-to-date version. (Download link broken as of Dec 23 2010)