Append some parameters in every ajax call's query string automatically

Append some parameters in every ajax call's query string automatically


Is there a way to automatically append some parameters in every ajax
call's query string?
"ajaxStart" event doesn't send ajax options to callback function, so
there is not way to modify the query string.
"ajaxSend" event doesn't work with GET request, because the query
string is already appended to the url and xhr is already open, so
there is no way to change the url.
For "beforeSend", it's the same as "ajaxSend".
Set global setting in ajaxSetup will not work, if "data" is specified
in individual ajax calls.
I'd like to add parameters like 'mode=ajax' to make server respond as
little data as posible(e.g, no header, no footer), and degrade
gracefully.
I have many ajax calls to make, and adding these parameters to every
single of them manually is very tedious.
So how can I achieve this in jQuery?
Thanks.