Check hash opt-in for intercepting relative links and remove test code