xhr-overwrite (npm): A lib that offers interfaces to overwrite xhr.It can used as interceptor for ajax in the underlayer.
Keywords: XMLHttpRequest|ajax|interceptor|overwrite