[eluser]Fationably Late[/eluser]
[quote author="Aken" date="1357772881"]Or you could use $this->input->is_ajax_request().[/quote]
That's true, I forgot about that. Good call... I was thinking though, if they're using jQuery for their ajax methods, it doesn't automatically set the header to detect such a thing (HTTP_X_REQUESTED_WITH), as far I'm aware. Please correct me I'm wrong here.
Plus I think there may be some added 'security' by including variables or segments (especially if they are hashed) in the request. But I'm getting off topic.