Redact text and elements from websites using regex rules or visual element selection.
  • JavaScript 74.6%
  • CSS 19.2%
  • HTML 6.2%
Find a file
2026-02-05 16:16:47 -05:00
screenshots Initial commit 2026-01-17 01:19:11 -05:00
src fix import issues, success style and chrome desc issue 2026-01-21 01:35:41 -05:00
.gitignore Initial commit 2026-01-17 01:19:11 -05:00
.gitlab-ci.yml use none for data_collection_permissions 2026-01-17 10:34:38 -05:00
biome.json firefox support? 2026-01-17 09:50:12 -05:00
bun.lock Initial commit 2026-01-17 01:19:11 -05:00
icon.png Initial commit 2026-01-17 01:19:11 -05:00
LICENSE LICENCE 2026-01-17 10:37:27 -05:00
manifest.json fix import issues, success style and chrome desc issue 2026-01-21 01:35:41 -05:00
package.json Update package.json 2026-01-21 01:36:50 -05:00
README.md Update README.md 2026-02-05 16:16:47 -05:00

Redact - Browser Extension

Redact text and elements from websites using regex rules or visual element selection.

Supports Chrome and Firefox.

INSTALL

Chrome: https://chromewebstore.google.com/detail/redact/jdnfnggpaodkcmncobdjfmlcpdemefeb

Firefox: https://addons.mozilla.org/en-US/firefox/addon/redact-it

Chrome:

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select this folder

Firefox:

  1. Open about:debugging#/runtime/this-firefox
  2. Click "Load Temporary Add-on"
  3. Select manifest.json from this folder

USAGE

Click the extension icon to open the popup.

Add Rule:

  • Pattern: Regular expression to match
  • Flags: Regex flags (default: gi)
  • Style: block, blur, replace, or highlight
  • Name: Display name for the rule
  • Site: Limit rule to specific domain (blank for all sites)
  • Group: Organize rules into groups

Rules can also be added by selecting text on any page and using the right-click context menu.

Pick Element:

  1. Click "Pick Element" button in popup
  2. Hover over elements on the page (highlighted in red)
  3. Click to select the element
  4. Press Escape to cancel

Element rules use CSS selectors and are saved per-site. They block entire elements including images, backgrounds, and iframes.

STYLES

  • block - Replace text with solid blocks
  • blur - Blur the text
  • replace - Replace with custom text
  • highlight - Highlight the text

FEATURES

  • Visual element picker (like uBlock Origin)
  • Regex-based text redaction
  • Per-site rules
  • Rule groups
  • Import/export rules as JSON
  • Enable/disable individual rules
  • Global enable/disable toggle
  • Context menu to redact selected text

EXAMPLE