(bug 13166) Adding TitleSecureAndSplit hook. Modified patch by Joshua Bacher