SHARE
TWEET

ajax-hook-request

selnomeria Dec 1st, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function() {
  2.     var origOpen = XMLHttpRequest.prototype.open;
  3.     XMLHttpRequest.prototype.open = function() {
  4.         this.addEventListener('load', function() {
  5.             console.log(this);
  6.         });
  7.         origOpen.apply(this, arguments);
  8.     };
  9. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top