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.

Code
Copy this to $IP/extensions/AddScript/AddScript.php