A Chrome extension that allows you to easily copy the unique URL of a repost (formerly retweet) on X.com (formerly Twitter).
Normally, it is difficult to obtain the unique URL of a repost through the standard UI.
With this extension, you can copy it directly to the clipboard from the context menu item “Copy URL of this repost”.
Example:
https://x.com/{username_of_the_user_who_reposted}/status/{repost_id}
This extension must be installed in Developer Mode.
-
Enable Developer Mode
- Open Chrome and go to
chrome://extensions/ - Toggle “Developer mode” on in the top-right corner
- Open Chrome and go to
-
Load the extension
- Click “Load unpacked”
- Select the folder containing this extension
- Confirm that “Repost URL Extractor” appears in the extension list
-
Check permissions
- Allow clipboard access if prompted
-
Open X.com
- Works on the home timeline, profile pages, search results, etc.
-
Right-click a repost
- Right-click on the repost you want to copy
-
Copy from the menu
- Select “Copy URL of this repost”
- The URL will be copied to your clipboard
- Home timeline (
x.com/home) - User profile (
x.com/{username}) - Search results (
x.com/search) - Lists (
x.com/i/lists/) - Tweet detail pages
Symptom: Right-clicking does not copy to the clipboard
Solutions:
-
Check browser settings
- Chrome → Settings → Privacy & Security → Site settings → Additional content settings → Clipboard
- Enable “Allow sites to read and write to the clipboard”
-
Check site-specific permissions
- Click the padlock (🔒) icon in the address bar → Select “Site settings”
- Set “Clipboard” to “Allow”
-
Reload the page after changing settings
Symptom: “Copy URL of this repost” does not appear
Solutions:
- Check if the extension is enabled at
chrome://extensions/ - Reload the page
Symptom: Error message such as “This does not appear to be a repost”
Solutions:
- Reload the page and try again later
- Right-click again after a short wait
- Try another repost
- Browsers: Google Chrome 88+, Microsoft Edge 88+
- Other Chromium-based browsers: not tested
- Sites: x.com, twitter.com (including redirects)
- Clipboard: For copying URLs
- Context menus: For adding right-click menu options
- x.com / twitter.com: To run on the target sites
This extension is designed with the following privacy principles:
- No external transmission: All processing is done locally in your browser
- Temporary data only: Repost URLs are stored in memory only for as long as needed
- No persistence: Data is automatically cleared when the browser is closed
- Least privilege: Only the minimum required permissions are requested
- Dependency on X.com: The extension relies on X.com’s internal structure and APIs, and may stop working if specifications change.
- Repost detection: Only the following conditions can be detected:
- Tweets that display “User X reposted”
- Tweets identified by X.com’s API as retweets (
RT @...)
- Real-time behavior: Detection may take a short time immediately after a page is loaded
- When the reposting user’s username is known:
https://x.com/{username}/status/{id} - When the username is unknown:
https://x.com/i/status/{id}
- Manifest Version: 3
- Structure: Content Script + Page Script pattern
- API monitoring: Intercepts fetch / XMLHttpRequest
- Data extraction: Parses internal X.com API responses
- Monitors API requests in the page
- Parses response data containing repost info
- Extracts repost ID and user info, caches them
- On right-click, generates and copies the URL
Released under the MIT License. See the LICENSE file for details.