Не используйте это, если только вы не уверены, что делаете
Я не уверен насчет библиотек перехватчика ajax. Но я могу сказать вам мерзкий взлом
Возьмите копию вашего оригинального экземпляра jquery ajax
var oldAjaxInstance; //some global variable
oldAjaxInstance = $.ajax; //in document load
И присвойте свой метод перехвата указателю $ .ajax
$.ajax = myAjaxwrapper;
myAjaxwrapper выглядит примерно так
function myAjaxwrapper(a) {
//your logic to change the request data's
if (you are ok to allow the ajax call) {
//re Assgin the actual instance of jquery ajax
$.ajax =oldAjaxInstance;
//and call the method
$.ajax(a);
}
//Otherwise it wont be called
}