'Is it possible to build a chrome extension that will look for a specific js network request and pull data from it?

I am trying to build an extension that will monitor the network requests of a given website, wait for a specific js file to be requested, then pull some data from it. Or would it be possible to ditch the extension idea and build an application that can web scrape from the network requests instead?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source