MediaWiki:Gadget-customslugicon.js

document.querySelectorAll('a>img').forEach(function(a) {	if (a.src == 'https://static.miraheze.org/rainworldwiki/9/9e/Monk_head.png') {		if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:Monk_head.png') {			a.parentNode.href = '/wiki/File:Monk_head_24x.png';		};		a.outerHTML = '';	} else if (a.src == 'https://static.miraheze.org/rainworldwiki/0/0b/Hunter_head.png') {		if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:Hunter_head.png') {			a.parentNode.href = '/wiki/File:Hunter_head_24x.png';		};		a.outerHTML = ''; } else if (a.src == 'https://static.miraheze.org/rainworldwiki/a/ae/Gourmand_head.png') { if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:Gourmand_head.png') { a.parentNode.href = '/wiki/File:Gourmand_head_24x.png'; };		a.outerHTML = ''; } else if (a.src == 'https://static.miraheze.org/rainworldwiki/d/d4/Artificer_head.png') { if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:Artificer_head.png') { a.parentNode.href = '/wiki/File:Artificer_head_24x.png'; };		a.outerHTML = ''; } else if (a.src == 'https://static.miraheze.org/rainworldwiki/6/64/Rivulet_head.png') { if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:Rivulet_head.png') { a.parentNode.href = '/wiki/File:Rivulet_head_24x.png'; };		a.outerHTML = ''; } else if (a.src == 'https://static.miraheze.org/rainworldwiki/e/e1/Spearmaster_head.png') { if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:Spearmaster_head.png') { a.parentNode.href = '/wiki/File:Spearmaster_head_24x.png'; };		a.outerHTML = ''; } else if (a.src == 'https://static.miraheze.org/rainworldwiki/1/1c/Saint_head.png') { if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:Saint_head.png') { a.parentNode.href = '/wiki/File:Saint_head_24x.png'; };		a.outerHTML = ''; } else if (a.src == 'https://static.miraheze.org/rainworldwiki/2/27/%3F%3F%3F_icon.png') { if (a.parentNode.href == 'https://rainworld.miraheze.org/wiki/File:%3F%3F%3F_head.png') { a.parentNode.href = '/wiki/File:%3F%3F%3F_head_24x.png'; };		a.outerHTML = ''; }; });