logo

ScriptCat

  • Home
  • Community
  • Script List
  • Browser Extension
  1. /
  2. Script Market
  3. /
  4. ajaxHooker
  • Overview
  • Code
  • Feedback
    2
  • Ratings
  • Version List
ScriptCat
GitHub
Audit Logs
Service Agreement
Privacy Policy
Disclaimer

© 2022-Present ScriptCat. All rights reserved.

jd详情页的xhr请求,response返回是null
Resolved#1457yesterdayxingCreated 9 months ago

Loading…
  • cxxjackie9 months ago

    Loading…
  • yesterdayxing
    9 months agoclosed the feedback
No data
Login to comment
Labels
Watch
Participants

https://api.m.jd.com/?functionId=pc_item_getWareGraphic 在network看请求返回的data里面的graphicContent就是详情页的html,但用ajaxhooker拦截后返回的response是null

response必须通过一个回调函数进行读取和修改,请仔细阅读首页的说明和相关示例。该请求经测试可以正常获取响应值,在返回的responseText属性里。