Manual:Hooks/BeforePageDisplay

Details
$out - The OutputPage object.

Usage
Scripts, styles, and other header elements can be added to the OutputObject at this point. Use:


 * - Add a JS file. $html is a full script tag:
 * - Add a CSS file. $src is a URL to a stylesheet.
 * - Add a  tag.
 * - Add a keyword for the keyword  tag.
 * - Add inline JS.
 * - Add a link for the keyword  tag.