I want to hook request in webpage. I've tried this but it seems hook only XHR request.
For example, the following html dom will send a request to domain/a.jpg(Can see this request in chrome F12 Network page.)I want to hook this request and get a.jpg.
<img src="/a.jpg">
Does anyone know how to do it??? Thanks very much.
Btw, I want to get a captcha so can't get the resource by sending request by myself or it will change.