Thread:Glaciersong/@comment-37700002-20190829203928/@comment-35476126-20190901203613

// Alts (function {    var $masthead = $('#UserProfileMasthead');    if (!$masthead.exists) {        return;    }    var $info = $masthead.find('.masthead-info hgroup'),        username = $info.find('h1').text,        alts = {            'The Shadow of Prodigy': 'Sonic of Prodigy',            'Any other alts': 'Main account',        },        altOf = alts[username];    function addTag  {        if ($('.usergroup-blocked').exists) {            return;        }        $info.find('.tag-container').remove;        $info.append( $(' ', {               'class': 'tag-container'            }).append(                $('', { 'text': 'Tolerated Alt', 'href': mw.util.getUrl('User:' + altOf), 'title': 'This user is a tolerated alt of ' + altOf + '.', 'class': 'tag usergroup-alt alt-user' })           )        );            }    if (altOf) {        setTimeout(addTag, 1500);    } }); Feel free to edit it a bit.