title: How to reproduce the JavaScript of an XMLHttpRequest?
body: <p>A lot of browser extensions give the option to view and analyze XHRs. The DevTools in Firefox for example have an <em>Edit and Resend</em> button for requests, but that's not what I need.</p>
  
  <p>I need to know the <strong>exact</strong> JavaScript code that runs when I resend a request.
  I need this for a Youtube user script, but the JavaScript code on Youtube is so obfuscated that I could never reproduce the request from that.</p>
  
  <p>What add-on or extension could tell me the exact JavaScript that runs when I resend a request?</p>