Last active
November 16, 2022 04:42
-
-
Save shawnhooper/0d724ca6e8b125ab9d81502a6500b8f7 to your computer and use it in GitHub Desktop.
TamperMonkey script to replace the Mastodon "Publish!" button with a "Toot!" button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Toot | |
// @namespace https://shawnhooper.ca/ | |
// @version 1.0 | |
// @description Replace the Mastodon 4.0+ Publish button with "Toot" | |
// @author Shawn M. Hooper | |
// @match https://fosstodon.org/* | |
// @match https://mastodon.social/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=fosstodon.org | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let button = document.querySelector('.compose-form__publish-button-wrapper button'); | |
button.innerText = 'Toot!'; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment