replace X 'Post' buttons with 'Tweet' buttons
UPDATED: May 5, 2024
to install this, you need a userscript manager that is compatible with Greasemonkey. i recommend, Violentmonkey.
if you use Tampermonkey, read this guide, or else the script won't work!
ABOUT
this is a basic userscript that does exactly what it says. any X 'Post' buttons that you see across the web will instead be replaced by the classic 'Tweet' button.
the code is kinda sloppy, but eh, who cares?
this script does NOT yet replace the logo and text on tweet embeds, only tweet buttons. also, i already know someone is going to complain about this, so i'm going to put it here. this will not change the logo on websites that have a custom share button.
LiMiTATiONS
i whipped this up in 1 hour, give me a break!
- only works for tweet buttons
- size=large buttons look funky, but who cares
- all of the Twitter buttons display Tweet, including ones that perform a follow action or something else
FOR TAMPERMONKEY USERS: FiX "Blacklisted by security settings" ERROR
You can follow this guide as a screencast if you wish.
Due to the way that Tampermonkey is configured by default, you will have to change some settings to make this userscript work.
Follow these steps to fix the issue:
- Click on the extension icon
- Click "Dashboard"
- Go to the "Settings" tab (near the top right of the dashboard)
- Change "Config mode" from "Novice" to "Beginner"
- Scroll down to "Security"
- Go to "Blacklisted pages" and remove "*://platform.twitter.com/widgets/*" from the list (you may have to scroll the textbox)
- Hit save