Ross ROSS = Recommend OSS · open-source software intelligence for agents

wendux/ajax-hook

Intercepting browser's http requests which made by XMLHttpRequest. observed · 2026-08-28

github.com/wendux/ajax-hook · JavaScript observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3567
  • days_rel: n/a
  • days_push: 1074
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2659 stars · 484 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A lightweight JavaScript library that intercepts browser HTTP requests made via XMLHttpRequest, letting you hook into requests before they are sent, responses after they arrive, and errors when they occur. It works on any ES5-compatible browser without relying on ES6 Proxy, and can also intercept same-origin iframe requests.

Use cases

  • intercept all XMLHttpRequest requests in the browser
  • modify request config before it is sent
  • mock or short-circuit ajax responses with handler.resolve
  • log or inspect ajax responses and errors
  • preprocess network requests inside a same-origin iframe
  • build browser extensions or debugging tools that hook XHR traffic

When to choose

  • you need to intercept or modify XHR-based ajax traffic in a browser environment
  • you must support legacy ES5 browsers
  • you want a tiny dependency-free hooking library with proxy/unProxy control

When to avoid

  • your app uses fetch or other non-XHR request APIs exclusively
  • you need to intercept cross-origin iframe requests
  • you need full network-layer interception rather than XHR object hooking

Facets

library · maturity stable

http-client middleware developer-tools web-development frontend developer-tools apis browser xmlhttprequest ajax-interception request-hooking mocking es5-compatible web-server

2 sources

Member repositories

RepositoryRoleHealth v2
wendux/ajax-hookmain32

For agents

markdown · JSON · MCP: product_card(name="wendux/ajax-hook")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem