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.
- Open Firefox.
- Type
about:debuggingin the address bar and press Enter. - Click on "This Firefox" in the sidebar.
- Click "Load Temporary Add-on...".
- Navigate to this directory (
/home/cdamian/projects/hellhole) and select themanifest.jsonfile.
- Link Replacement: Scans pages for
<a>tags linking totwitter.comorx.com. - Embed Replacement: Replaces
<iframe>and<blockquote>embeds used by Twitter. - Dynamic Detection: Uses a
MutationObserverto detect and replace links/embeds in dynamically loaded content (e.g., infinite scroll). - Hell Hole Theme: Replaces content with a fiery, dark-themed placeholder.
manifest.json: Extension configuration.content.js: Main logic for finding and replacing elements.style.css: Styling for the placeholder.icons/icon.svg: Extension icon.