A Chrome extension that adds psychological friction to Twitter/X by requiring you to state your intention before accessing it.
- Navigate to
twitter.comorx.com→ Blocked - Type why you're opening Twitter (5+ characters)
- Access granted for 5 minutes in that tab only
- After 5 minutes → automatically blocked again
- New tab = new reason required
- 🚫 Blocks Twitter/X until you state your reason
- ⏱️ 5-minute per-tab access limit (enforced)
- 📝 Logs all your reasons locally
- 🔒 No data collected, no external requests
- 🎨 Matches X's official design language
git clone https://github.com/randomness11/whytwitter.gitOr click Code → Download ZIP and extract it.
- Open Chrome and navigate to:
chrome://extensions - Or go to ⋮ Menu → Extensions → Manage Extensions
- Toggle the Developer mode switch in the top-right corner
- Click Load unpacked
- Navigate to the downloaded/cloned folder
- Select the folder containing
manifest.json - Click Select Folder
- You should see "Why Twitter?" in your extensions list
- The extension icon will appear in your toolbar
- Try visiting
twitter.com— you'll be blocked! 🎉
If you installed manually:
- Pull the latest changes or re-download
- Go to
chrome://extensions - Click the ↻ refresh icon on the extension card
| File | Purpose |
|---|---|
manifest.json |
Extension config (Manifest V3) |
background.js |
Service worker — intercepts navigation, manages timers |
block.html |
Block page UI |
block.js |
Input validation and messaging |
icon.svg |
Source icon |
icon128.png |
Extension icon (128x128) |
- All data stored locally via
chrome.storage.local - Reasons never leave your browser
- No analytics, no tracking, no external requests
MIT
