// ==UserScript== // @name KAT - Shorten Achievement Names // @namespace ShortenAcv // @version 1.03 // @description Shortens the names of the achievements into acronyms // @match http://kat.cr/user/* // @match https://kat.cr/user/* // @downloadURL https://update.greasyfork.icu/scripts/4278/KAT%20-%20Shorten%20Achievement%20Names.user.js // @updateURL https://update.greasyfork.icu/scripts/4278/KAT%20-%20Shorten%20Achievement%20Names.meta.js // ==/UserScript== // Available modes: // 0 - Shorten and show (Default) // 1 - Shorten, but hide automatically (Toggle can be used to show them) // 2 - Do not shorten, just hide var mode = 0; if (mode != 2) { $('a[href^="/achievements/"][href!="/achievements/"]').each(function(){ var temp = $(this).text().replace("-", " "); var arr = temp.split(" "); var result = ""; for (var x=0; xtoggle achievements'); if (mode != 0) { $('.achTable > tbody').hide(); }