Minecraft Wiki
Advertisement

Documentation may be created at User:Kingcat 100/fandomdesktop.js/doc.

Note: After saving, you have to bypass your browser's cache to see the changes.

Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.

mw.loader.getScript('https://minecraft.fandom.com/index.php?title=User:SansUT1/fandomdesktop.js&action=raw&ctype=text/javascript');
mw.loader.using('mediawiki.util').then(function () {
    $('.wds-global-navigation .wds-global-navigation__user-menu .wds-avatar__image, .global-navigation .wds-avatar__image').click(function () {
        location.href = mw.util.getUrl('Special:MyPage');
    }).css('cursor', 'pointer');
});
Advertisement