Redact text and elements from websites using regex rules or visual element selection.
- JavaScript 74.6%
- CSS 19.2%
- HTML 6.2%
| screenshots | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| biome.json | ||
| bun.lock | ||
| icon.png | ||
| LICENSE | ||
| manifest.json | ||
| package.json | ||
| README.md | ||
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:
- Open chrome://extensions
- Enable Developer mode
- Click Load unpacked
- Select this folder
Firefox:
- Open about:debugging#/runtime/this-firefox
- Click "Load Temporary Add-on"
- 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:
- Click "Pick Element" button in popup
- Hover over elements on the page (highlighted in red)
- Click to select the element
- 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 blocksblur- Blur the textreplace- Replace with custom texthighlight- 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