Originally posted by eek
View Post
I've finally tracked down the code where they handle it; it's conveniently located in a completely different place to all the other code that handles sending you to where you want to be, so it took a while to find it. It also turns out to be dumber than I expected by quite a considerable margin
But the important thing is that I can now see exactly how they deal with it (it also has to check various site and user config options, so it's not quite as simple as it might at first appear) and add the relevant functionality in the correct place (i.e. where all the rest of that happens in our own code). I'm not certain yet, but it looks like I can thereby eliminate a redirect too, as well as removing the JavaScript dependency. Shouldn't be too long now…
Comment