I'm trying to use xmlhttprequest.js to intercept an ajax request and request a different url instead. The code all looks correct, but it's failing silently with no hints in the developer console. Here is a live preview along with the code:
http://embed.plnkr.co/5Vpdohf69anQlUutHl7Y/preview
Am I doing something wrong, or is this just not possible?
Thanks in advance for any tips.