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

jpillora/xdomain

A pure JavaScript CORS alternative observed · 2026-08-28

github.com/jpillora/xdomain · homepage · JavaScript observed · 2026-08-28

Health v2 · maintenance only

51/100

  • Activity 42
  • 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: 4895
  • days_rel: n/a
  • days_push: 352
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3147 stars · 258 forks observed · 2026-08-28

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

XDomain is a pure JavaScript CORS alternative that enables cross-domain XHR by routing requests through a hidden iframe and a small proxy.html on the remote domain. It hooks window.XMLHttpRequest via XHook so it works transparently with libraries like jQuery and Angular.

Use cases

  • make cross-domain ajax requests without server CORS headers
  • access S3 or Dropbox file APIs directly from the browser
  • support cross-origin XHR in old browsers like IE8/9
  • avoid modifying server code for cross-domain API calls
  • white-list specific domains and paths for cross-domain access

When to choose

  • you cannot add CORS headers to the remote server
  • you need to support legacy browsers lacking full CORS support
  • you want drop-in cross-domain XHR with jQuery, Angular, or raw XHR

When to avoid

  • you can simply configure CORS headers on the server
  • you need modern fetch API support
  • you require a actively developed solution with strong security guarantees

Facets

library · maturity maintenance

http-client middleware web-development frontend apis browser cors-alternative xhr cross-domain proxy-html ie8-polyfill javascript

3 sources

Member repositories

RepositoryRoleHealth v2
jpillora/xdomainmain51

For agents

markdown · JSON · MCP: product_card(name="jpillora/xdomain")

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