A collection of userscripts that add keyboard shortcuts, inline information, and quality-of-life improvements to Twitter/X.
| Script | Description | Key | Install |
|---|---|---|---|
| Inline Follower Count | Displays follower count and bio directly inline in tweets and user cells. Uses Twitter's GraphQL API. | -- | Install |
| Backspace to Go Back | Press Backspace to navigate back using Twitter's soft SPA navigation. | Backspace |
Install |
| Post Activity Hotkeys | View post activity and switch tabs for Quotes, Reposts, and Likes. | v q t l |
Install |
| Delete Hotkey | Delete a focused tweet via the three-dot menu. | d |
Install |
| Open Quote Tweet | Open a focused tweet's embedded quote tweet. | p |
Install |
| Open Profile | Open the author's profile from a focused tweet. | f |
Install |
| User Cell Hotkeys | Keyboard shortcuts on user cells (follower lists, search results, etc.). | x f u w |
Install |
twitter-custom-keys.lib.js -- Shared library that adds a "Custom" section to Twitter's built-in ? keyboard shortcuts dialog, showing all registered custom shortcuts. This file is loaded automatically via @require by the hotkey scripts above and does not need to be installed separately.
You need a userscript manager extension. Recommended options:
- Tampermonkey -- Chrome, Firefox, Edge, Opera (recommended)
- Violentmonkey -- Chrome, Firefox, Edge
- Greasemonkey -- Firefox only
Steps:
- Install one of the extensions above.
- Click the Install link for any script in the table above.
- The userscript manager will show an install prompt. Click Install.
- Userscripts -- free, open source, available on the App Store
Steps:
- Install Userscripts from the App Store.
- Go to Settings > Safari > Extensions and enable Userscripts.
- Open Safari, tap the extension icon, and set a script directory.
- Add scripts to that directory or install via the raw GitHub links above.
- Tampermonkey for Firefox Android
Steps:
- Install Firefox for Android.
- Add the Tampermonkey extension from the Firefox add-ons menu.
- Click the Install links above to install scripts.
- All hotkey scripts ignore input when typing in text fields, textareas, or contenteditable elements.
- Modifier keys (Ctrl, Cmd, Alt) are ignored to avoid conflicts with browser shortcuts.
- Tweet-level hotkeys (
d,p,f) operate on the tweet focused via Twitter's built-inj/knavigation. - Scripts work on both
twitter.comandx.com.
MIT

