Advertisement
retesere20

ajax-hook-request

Dec 1st, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  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. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement