User:Universal Omega/cosmos.js

window.FastDeleteNoConfirm = true; mw.loader.load( '/w/index.php?title=MediaWiki:LastEdited.js&action=raw&ctype=text/javascript' ); mw.loader.load( '/w/index.php?title=MediaWiki:TagRightsManagement.js&action=raw&ctype=text/javascript' ); if($('#mw-content a[href*="/wiki/Special:UpdateProfile"]').length > 0 === true){ var waitForPageTools = function(selector, callback) { if ($(selector).length) { callback; } else { setTimeout(function {     waitForPageTools(selector, callback);    }, 100); } };

waitForPageTools('#cosmos-actionsList-list', function {   $('#profile-top,#mw-content #cosmos-articleHeader-actions').hover(function  { $('#mw-content #cosmos-articleHeader-actions').css('visibility', 'visible'); }, function { $('#mw-content #cosmos-articleHeader-actions').css('visibility', 'hidden'); }); }); }