This project allows you to inject content into the $head, $scripts and $styles elements in the page.tpl.php. This is defined in profiles which can target URLS's.

Note: Only users with the administer add to head permission can use this and, as they can inject whatever they want, this permission should only be granted to VERY trusted users and site administrators as it could be used for evil.

This module is particularly useful if you need to include a specific Javascript snippet on SPECIFIC pages. You could do this using a block, however some Javascript requires that it is in the <head> region of the page template.

Project Information