extractPageTitleFromURL
`content.ts` is now half less than the size, exported functions can be unit tested