How do I get and modify an AJAX request?

1

I'm creating an add-on for Chrome , in the add-on I modify various parts of a site. But now I need to modify a ajax request, the site makes the request before the extension script goes live. I've done something similar but in localhost , I've used XMLHttpRequest to capture all ajax requests and modify them in a function.

But in Chrome , I do not know how to make the extension capture the "/ event / original /" request and make the return of mysite. com / myscript.php? ul = / event / original / "

How do I capture a ajax request and the modified return to the remote site?

    
asked by anonymous 30.06.2015 / 08:38

0 answers