User:DannyS712/Skiptobottom.js

//Copied from [[User:Abelmoschus Esculentus/Skiptobottom.js] $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink(    'p-personal',    'javascript:void(0)',    'Skip to bottom',    'pt-skiptobottom',    'Instantly skip to the bottom of the page',    null,    '#pt-preferences'  );  $('#pt-skiptobottom').on('click', function {       var scrollingElement = (document.scrollingElement || document.body);		scrollingElement.scrollTop = scrollingElement.scrollHeight;    }); });