简体   繁体   中英

Intercept Javascript requests with Chrome extension

I want to write a Chrome extension that intercepts some data that a Javascript-based application is requesting. The URLs it requests its data from constantly change, so I can't just guess what they'll be. If I watch the Developer Console in Chrome, I can see all the requests I want. Is there a way to get an extension to automate this?

Checkout this example extension from Google: http://code.google.com/chrome/extensions/trunk/samples.html#cc8563a6666add797264184a960c7b7c8bd3e64d

"Displays the live log with the http requests headers"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM