Is it possible to intercept all ajax requests and get the parameters and the returns?

Is it possible to intercept all ajax requests and get the parameters and the returns?