Created
June 17, 2019 17:50
-
-
Save mihaeu/7b2e7a3619bf95470f5dfc9cfb7d27c4 to your computer and use it in GitHub Desktop.
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 Warmshowers.org - Replace "Donate" with "Messages" Button | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.warmshowers.org/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.querySelector('.is-leaf.last').outerHTML = '<li class="menu__item is-leaf leaf"><a href="https://www.warmshowers.org/user/10304/messages" title="" class="menu__link">Messages</a></li>'; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment