// ==UserScript== // @name MouseHunt - Display Converted Charms Thumbnail // @author Jia Hao (Limerence#0448 @Discord) // @namespace https://greasyfork.org/en/users/165918-jia-hao // @version 1.2 // @description Adds a thumbnail showing the charms obtained from Unstable/Torch/Treasure Trawling Charms. // @include https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js // @include http://www.mousehuntgame.com/* // @include https://www.mousehuntgame.com/* // @downloadURL none // ==/UserScript== function unstableThumbnails() { var charmPops = $(".entry.short.misc.custom.chesla_trap_trigger"); var torchCharmPops = $(".entry.short.misc.custom.torch_charm_event"); charmPops.each(function() { if ($(this).text().indexOf("Unstable Charm") >= 0 || $(this).text().indexOf("Treasure Trawling Charm") >= 0) { //only entries made by unstable charms var charmLexiconURL = $($(this).find("[href]")[1]).attr("href"); $(this).prepend("