Tiny Firefox Extension that blocks Twitter/X links
This repository has been archived on 2026-07-24. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • JavaScript 81.2%
  • CSS 18.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-14 23:11:07 +02:00
icons Feat: Add Twitter Hellhole Firefox extension 2026-01-27 12:25:08 +01:00
tests/unit Fix: restrict URL matching to twitter.com and x.com domains 2026-01-27 17:45:00 +01:00
.gitignore Setup: integrate web-ext for extension development 2026-01-27 17:58:32 +01:00
.web-ext-ignore Setup: integrate web-ext for extension development 2026-01-27 17:58:32 +01:00
content.js Fix: restrict URL matching to twitter.com and x.com domains 2026-01-27 17:45:00 +01:00
LICENSE Initial commit 2026-01-27 12:22:23 +01:00
manifest.json Setup: integrate web-ext for extension development 2026-01-27 17:58:32 +01:00
package-lock.json Setup: integrate web-ext for extension development 2026-01-27 17:58:32 +01:00
package.json Update non-major updates 2026-06-13 18:31:37 +00:00
README.md Feat: Add Twitter Hellhole Firefox extension 2026-01-27 12:25:08 +01:00
renovate.json Add renovate.json 2026-06-13 06:16:59 +00:00
style.css Feat: Add Twitter Hellhole Firefox extension 2026-01-27 12:25:08 +01:00

Twitter Hellhole Extension

This is a Firefox extension that replaces all links and embeds pointing to Twitter (twitter.com) or X (x.com) with a "HELL HOLE AVOIDED" placeholder.

Installation

  1. Open Firefox.
  2. Type about:debugging in the address bar and press Enter.
  3. Click on "This Firefox" in the sidebar.
  4. Click "Load Temporary Add-on...".
  5. Navigate to this directory (/home/cdamian/projects/hellhole) and select the manifest.json file.

Features

  • Link Replacement: Scans pages for <a> tags linking to twitter.com or x.com.
  • Embed Replacement: Replaces <iframe> and <blockquote> embeds used by Twitter.
  • Dynamic Detection: Uses a MutationObserver to detect and replace links/embeds in dynamically loaded content (e.g., infinite scroll).
  • Hell Hole Theme: Replaces content with a fiery, dark-themed placeholder.

Files

  • manifest.json: Extension configuration.
  • content.js: Main logic for finding and replacing elements.
  • style.css: Styling for the placeholder.
  • icons/icon.svg: Extension icon.