twitter-default-following-tab GitHub Details, Stars and Alternatives | OpenRepoFinder
mustafaer / repository
twitter-default-following-tab
A lightweight, privacy-focused browser extension that automatically switches to the "Following" tab when you open Twitter/X, helping you focus on chronological content from people you actually follow instead of the algorithmic "For You" feed.
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
90
Community adoption25% weight
10
Maintenance state20% weight
40
License clarity10% weight
100
Project information10% weight
100
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
Twitter Default Following Tab - Automatically Switch to Following Feed on Twitter/X
Enhance Your Twitter Experience | Chrome Extension for Twitter Following Tab | Skip For You Algorithm
A lightweight, privacy-focused browser extension that automatically switches to the "Following" tab when you open Twitter/X, helping you focus on chronological content from people you actually follow instead of the algorithmic "For You" feed.
Keywords: Twitter extension, X.com extension, Following tab, Chrome extension, Browser extension, Twitter automation, Social media productivity, Chronological timeline, Twitter following feed, Skip for you tab, Twitter tools, Manifest V3
🎯 Features
Why Use This Twitter Extension?
Tired of Twitter's "For You" algorithmic feed? This extension automatically switches you to the chronological "Following" feed every time you open Twitter or X.com.
🔄 Automatic Tab Switching - Opens the "Following" tab by default instead of "For You" algorithmic feed
✨ Seamless Transition - Invisible switching - you never see the "For You" content flash
🧠 Smart Content Detection - Intelligently waits for tweets to actually load before displaying
👤 Respects User Choice - If you manually click "For You" tab, the extension won't interfere
⚡ Adaptive Performance - Fast on fiber/5G networks (~150ms), patient on slow 3G connections
🌍 Language Independent - Works with any Twitter language setting (English, Spanish, Japanese, etc.)
🔒 Privacy-Focused - Minimal data collection (only stores your tab preference setting locally) ()
The Following tab should automatically be selected
🎬 How It Works - Technical Details
This Twitter automation extension uses intelligent content detection to ensure a smooth, seamless experience when switching from the "For You" algorithmic feed to the chronological "Following" timeline.
Technical Process:
Page Load Detection - When you visit Twitter/X homepage
Content Hiding - Temporarily hides "For You" content using CSS (tabs remain visible)
Automatic Tab Switch - Programmatically clicks the "Following" tab
Smart Content Detection - Checks every 50ms for tweets to load (maximum 2.5 seconds)
Seamless Display - Shows content once Following tweets are fully loaded
User Interaction Respect - Detects manual tab clicks and respects user choice (no auto-switch after manual selection)
Performance Metrics by Network Speed:
Network Type
Connection Speed
Transition Time
User Experience
Fiber/5G
100+ Mbps
~150-200ms
⚡ Instant, optimal speed
4G/ADSL
10-50 Mbps
~300-500ms
✅ Smooth transition
3G/Slow
1-5 Mbps
~1000-2000ms
✅ Waits for full content
Very Slow
<1 Mbps
2500ms max (timeout)
⚠️ Shows content anyway (safe fallback)
Why This Approach?
Problem: Simple tab-switching extensions show blank pages on slow connections because tweets haven't loaded yet.
Solution: Our extension intelligently detects when Following feed tweets are actually loaded in the DOM before revealing content, ensuring you always see populated content, not loading spinners.
Technical Implementation:
DOM MutationObserver for dynamic content changes
Position-based tab detection (language-agnostic)
User interaction detection (respects manual tab selections)
Debounced event handling for performance
History API interception for SPA navigation
Smart timeout protection (never hangs forever)
🔧 Development
Prerequisites
Node.js (for development scripts)
Chrome/Chromium browser
Building
# Make build script executable
chmod +x build.sh
# Build the extension
./build.sh
This creates:
build/ folder for testing
twitter-default-following-tab.zip for distribution
Debug Mode
Enable debug logging in content.js:
const DEBUG = true; // Change from false to true
Then check browser console (F12) for detailed logs.
📝 Configuration
All timing configurations are defined at the top of content.js:
const CONTENT_CHECK_INTERVAL = 50; // ms between content checks
const MAX_CONTENT_WAIT_ATTEMPTS = 50; // max 2.5 seconds wait
const DEBOUNCE_DELAY = 200; // ms
const INITIAL_TAB_CHECK_DELAY = 100; // ms
const PAGE_LOAD_CHECK_DELAY = 150; // ms
const TRANSITION_END_DELAY = 100; // ms
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Development Guidelines
Keep code simple and readable
Add comments for complex logic
Test on both fast and slow network conditions
Maintain language-independent approach
Follow existing code style
💖 Support This Project
If you find this extension helpful, consider supporting its development:
Your support helps maintain and improve this extension:
🐛 Bug fixes and improvements
✨ New features development
📚 Documentation updates
🚀 Performance optimizations
💬 Community support
Other ways to support:
⭐ Star this repository on GitHub
🐛 Report bugs and suggest features
🔄 Share with others who might find it useful
📝 Write about it or create tutorials
💻 Contribute code improvements
Every contribution, big or small, is appreciated! 🙏
🔒 Privacy Policy
This extension is privacy-first by design. We collect minimal data - only your tab preference.
What We Store:
✅ Your tab preference (one simple setting: e.g., "1" for Following tab)
✅ Stored locally in Chrome sync storage
✅ Approximately 20 bytes of data
✅ Format: {"defaultTab": "1"}
What We DON'T Collect:
❌ No personal information
❌ No browsing history or analytics
❌ No tracking of any kind
❌ No external server communication
❌ No tweets, messages, or profile data
Permissions (v2.0.0):
storage - To save your tab preference locally
scripting - To detect available tabs and extract names
activeTab - To read current page when you open settings
Have an idea? Open an issue with the "enhancement" label!
🙏 Acknowledgments
Thanks to all contributors who help improve this extension
Inspired by users who prefer chronological feeds over algorithmic ones
📊 Technical Details
Architecture (v2.0.0)
Manifest V3: Latest Chrome extension standard (future-proof)
Content Script: Runs on Twitter/X pages for tab switching
Popup UI: Dark mode interface with dynamic dropdown
Options Page: Full settings page with descriptions
Chrome Storage API: Saves your preference locally (synced via Chrome)
Dynamic Tab Detection: Intelligently discovers available tabs
Structure-Based Extraction: Uses HTML structure, not CSS classes (future-proof)
Permissions Used
storage - Save your tab preference
scripting - Detect tabs and extract names
activeTab - Read current page for settings
Host permissions for Twitter/X domains
Browser Compatibility
✅ Chrome 88+ (tested and verified)
✅ Edge 88+ (Chromium-based)
✅ Brave (Chromium-based, privacy browser)
✅ Opera (Chromium-based)
⏳ Firefox (coming soon with Manifest V3 support)
❌ Safari (not supported - different extension API)
Extension Technologies
JavaScript ES6+ - Modern, efficient code
DOM Manipulation - Direct interaction with Twitter's interface
MutationObserver API - Monitors dynamic content changes
History API - Handles SPA navigation
CSS Injection - Seamless content transitions
❓ Frequently Asked Questions (FAQ)
General Questions
Q: Can I choose which tab opens by default?
A: Yes! Version 2.0 lets you choose any tab - Following, Community tabs, or even "For You" if you want.
Q: How do I change my default tab?
A: Click the extension icon in your browser toolbar, select your preferred tab from the dropdown, and it saves automatically.
Q: How do I make Twitter open to Following tab by default?
A: Install this extension and select "Tab 1 (Following)" in the settings dropdown. That's it!
Q: Can I use this for Community tabs?
A: Absolutely! If you have community tabs (Tab 2, 3, 4...), they'll appear in the dropdown with their actual names.