Last active
September 8, 2020 03:14
-
-
Save inertia186/93b53e9922602f36dc4b743108569072 to your computer and use it in GitHub Desktop.
Better names for cards in Steem Monsters.
This file contains hidden or 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 sm-better-names | |
// @namespace https://gist.github.com/inertia186/93b53e9922602f36dc4b743108569072 | |
// @updateURL https://gist.github.com/inertia186/93b53e9922602f36dc4b743108569072 | |
// @version 0.1 | |
// @description Better names for cards in Steem Monsters. | |
// @author inertia | |
// @include https://steemmonsters.com/* | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var execute = function() { | |
$(".card-name-name").each(function () { | |
var html = this.innerHTML; | |
// Fire | |
html = html.replace(/Cerberus/g, "Spot"); | |
html = html.replace(/Fire Demon/g, "Jerk Demon"); | |
html = html.replace(/Elemental Phoenix/g, "Jerk Phoenix"); | |
html = html.replace(/Pit Ogre/g, "Pitiful Ganon"); | |
html = html.replace(/Flame Monkey/g, "r0nd0n"); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
// Water | |
html = html.replace(/Sabre Shark/g, "Sharky McSharkface"); | |
html = html.replace(/Sea Genie/g, "Robin Williams"); | |
html = html.replace(/Crustacean King/g, "CRAAAAAAAB PEOPLE!"); | |
html = html.replace(/Mischievous Mermaid/g, "Karen McKersie"); | |
html = html.replace(/Pirate Captain/g, "Johnny Depp"); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
// Earth | |
html = html.replace(/Spirit of the Forest/g, "Spirit of Letdown"); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
// Life | |
html = html.replace(/Kiara Lightbringer/g, "Rainbow Brite"); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
// Death | |
html = html.replace(/Haunted Spirit/g, "Jerk Spirit"); | |
html = html.replace(/Zintar Mortalis/g, "Literally Hitler"); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
// Dragon | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
//html = html.replace(//g, ""); | |
// Neutral | |
html = html.replace(/Lord Arianthus/g, "Bernie Sanders"); | |
html = html.replace(/Highland Archer/g, "Pointless Archer"); | |
html = html.replace(/Elven Cutthroat/g, "Not Zelda"); // Google it. | |
html = html.replace(/Enchanted Pixie/g, "Overly Attached Pixie"); | |
html = html.replace(/Raging Impaler/g, "Bull Market"); | |
//html = html.replace(//g, ""); | |
this.innerHTML = html; | |
}); | |
} | |
var timer_id = setInterval(execute, 200); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lol