Manual talk:Hooks/OutputPageBeforeHTML

It seems as if the first parameter is an OutputPage object rather than a ParserOutput object. (at least in version 1.6.3)

Simple Example
A simple example for using this hook is found in Extension:PatchOutput.