Simply hooks: just use BeforePageDisplay (the big hammer).