User:Bat Forever/global.js

// *************************** // Chat hacks (from Monchoman) // *************************** importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); // ******************************* // End Chat hacks (from Monchoman) // *******************************

importScriptPage('ShowHide/code.js', 'dev');

importScriptPage('Countdown/code.js', 'dev');

importScriptPage('DisplayClock/code.js', 'dev'); /* Auto updating recent changes opt-in * See w:c:dev:AjaxRC for info & attribution */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* Adds "purge" option to page controls * See w:c:dev:PurgeButton for info & attribution */ importScriptPage('PurgeButton/code.js', 'dev'); /* Any JavaScript here will be loaded for all users on every page load. */ jQuery('.achievementbox').mouseover(function {  jQuery("div", this).show; }) jQuery('.achievementbox').mouseout(function {  jQuery("div", this).hide; }) importScriptPage('ShowHide/code.js', 'dev') /* Replaces Template:USERNAME with the name of the user browsing the page. Requires copying Template:USERNAME. */ function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); /* End of the Template:USERNAME replacement */

importScriptURI( 'http://help.wikia.com/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript' ); importStylesheetURI( 'http://help.wikia.com/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/javascript' );

/* Restoring old profile look */ .WikiaUserPagesHeader { background: transparent !important; } .UserProfileMasthead { min-height: 165px; } .UserProfileMasthead .masthead-info { background: transparent; -moz-box-shadow: none; } .UserProfileMasthead .masthead-info h1 { font-size: 24px; line-height: 26px; } .UserProfileMasthead .masthead-info hgroup { background: transparent !important; color: black; overflow: visible; height: auto; padding: 8px; } .UserProfileMasthead .masthead-info > div { padding: 5px 8px; } .UserProfileMasthead .tally { margin-bottom: 0; } .masthead-info li.zero { display: none; } .WikiaUserPagesHeader .tabs { border-bottom: medium none; padding-left: 5px; } .WikiaUserPagesHeader .tabs .selected { -moz-box-shadow: -3px 7px 7px 0 #4E4E4E; } .tabs li a { -moz-border-radius-topleft: 5px !important; -moz-border-radius-topright: 5px !important; } .UserProfileMasthead .masthead-info:before { border: none !important; } .UserProfileMasthead .masthead-avatar { line-height: 148px; text-align: center; } .UserProfileMasthead .masthead-avatar .avatar { vertical-align: middle; } .UserProfileMasthead .masthead-avatar:hover span { display: block; line-height: 16px; text-align: right; }