A Tampermonkey script that saves your timeline position and returns to it on demand
A Tampermonkey userscript that saves your timeline position and returns to it on demand. Never lose your place in the Twitter/X timeline again!
Escape to stop scrolling at any timetwitter-position-saver.user.jsOr manually:
twitter-position-saver.user.jsAfter installation, you'll see two buttons in the bottom-right corner of Twitter/X:
| Button | Function |
|---|---|
| 💾 | Save a manual bookmark at your current position |
| 🔖 | Jump to your saved bookmark |
| 📍 | Jump to the automatically saved position |
You can adjust settings at the top of the script:
const CONFIG = {
maxAgeMinutes: 60, // Auto-position expires after this time
saveIntervalMs: 2000, // How often to save position (ms)
scrollStepDelayMs: 300, // Delay between scroll steps (ms)
maxScrollAttempts: 150, // Max attempts before giving up
showNotifications: true, // Show status notifications
debug: false // Enable console logging
};
Twitter/X uses virtualized scrolling, which means tweets are dynamically loaded and unloaded as you scroll. This script:
twitter.com and x.comMIT License – see LICENSE for details.
Contributions are welcome! Feel free to open issues or submit pull requests.