DeadDash is a browser extension designed to tidy up your X timeline by automatically hiding posts containing word-bound em dashes (e.g., word—word). This specific pattern is frequently found in AI-generated content.
- Precise Filtering: Only posts containing em dashes directly connecting words (word—word) will be hidden.
- Avoid False Positives: Posts with standalone em dashes, punctuation-bound em dashes, or stylistic uses are not affected.
Enjoy a cleaner timeline without sacrificing the genuine posts you love.
- Automatic Filtering: Detects and hides posts containing em-dashes between words
- Counter: Tracks how many posts have been filtered from your timeline
- Toggle Control: Easily enable or disable the extension with a single click
- Real-time Detection: Works on dynamically loaded content as you scroll
- Visit the DeadDash extension page on the Chrome Web Store
- Click "Add to Chrome" to install it in your browser
- Download or clone this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top-right corner
- Click "Load unpacked" and select the DeadDash directory
- The extension should now be installed and active
DeadDash scans your X timeline for posts containing em-dashes (—) between words, which is a common pattern in AI-generated content. When it finds such posts, it automatically hides them from your view.
The extension uses a simple but effective pattern detection:
// Regex: Looks for a word character (\w), followed by an em dash (—),
// followed by another word character (\w)
const wordBoundEmDashRegex = /\w—\w/;- After installation, navigate to X.com or Twitter.com
- The extension will automatically start filtering posts containing em-dashes
- Click the DeadDash icon in your browser toolbar to:
- See how many posts have been blocked
- Enable or disable the extension
DeadDash operates entirely within your browser and does not:
- Collect any personal data
- Send any information to external servers
- Track your browsing history
- Modify any content other than hiding specific posts on X/Twitter
Contributions are welcome! If you'd like to improve DeadDash:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature-name) - Make your changes
- Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/your-feature-name) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Matt MacPherson