# einaregilsson/Redirector

Browser extension (Firefox, Chrome, Opera, Edge) to redirect urls based on regex patterns, like a client side mod_rewrite.

Repository: https://github.com/einaregilsson/Redirector
Canonical: https://ross.abutalabs.com/products/redirector
Homepage: http://einaregilsson.com/redirector/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-07-27T19:04:51+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 33, release rhythm 35, longevity 100
- inputs: {"age_days": 5619, "days_push": 402, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2081, forks 202 (observed 2026-08-28T04:06:11.659304+00:00)

## What it is
Redirector is a browser extension for Firefox, Chrome, Edge, Vivaldi and Opera that redirects URLs based on regex or wildcard patterns, like a client-side mod_rewrite. Users define rules with capture-group substitutions for tasks like forcing HTTPS, de-mobilizing sites, escaping AMP, and removing tracking redirects.

## Use cases
- redirect mobile wikipedia urls to desktop versions
- remove amp from google search result links
- strip doubleclick tracking from clicked links
- redirect youtube shorts to regular watch urls
- force http sites to https automatically
- use duckduckgo bangs from google search
- redirect newspaper articles to print versions

## When to choose
- you want declarative regex-based url rewriting inside your browser
- you need cross-browser redirect rules with no data sent anywhere
- you want to bypass amp pages or tracking redirects client-side

## When to avoid
- you need server-side redirects that affect all visitors
- you want a proxy or network-level rewriting tool outside the browser
- you need complex scripting logic beyond regex substitutions

## Facets
- artifact type: plugin
- maturity: maintenance
- function: browser-extension, routing, privacy, security
- domain: browser-extensions, privacy, web-development, developer-tools
- platform: browser, browser-extension, cross-platform
- tags: url-redirector, regex-redirects, mod-rewrite, firefox-addon, chrome-extension, amp-removal, de-mobilizer, client-side-redirects

## Member repositories
- einaregilsson/Redirector (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.659304+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:57.176028+00:00, confidence not recorded.
  - readme: https://github.com/einaregilsson/Redirector (fetched 2026-08-28T04:06:11.659304+00:00, sha 789ec799c875)
  - homepage: http://einaregilsson.com/redirector/ (fetched 2026-08-29T10:36:21.773657+00:00, sha e4146bc2e9e3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
