Adapt MtMNC's code to work with all pages, whether sitenotice or not