retesere20

ajax-hook-request

Dec 1st, 2019
120
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