User:Mr.Berto/global.js

// Import Auto-refresh, Global Chathack, Button to go to the // top, Forums threads to WikiaRail module, Block messages on chat to selected // users, WHAM, Button to purge fastly, Multi Private Messages on Chat, Search // bar on Chat, show Anons Users IP replacing default name and ReferencesPopUp importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage('RelatedDiscussionsModule/code.js', 'dev'); importScriptPage('MessageBlocker/code.js', 'dev'); importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('RevealAnonIP/usercode.js', 'dev'); importScriptPage('ReferencePopups/code.js', 'dev'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); /* Edit Intro Button by Wikia Developers Wiki */ EditIntroButtonText = 'Editar introducción'; importScriptPage('EditIntroButton/code.js', 'dev');

/*Botones multiusos - based in ShermanTheMythran codes*/ $('.WikiaHeader').append('▲ ' + '● ' + '► ' + '▼ '); $('#scroll-top, .scroll-top').click(function { $('html, body').animate({scrollTop:0}, 'slow') }); $('#scroll-bottom, .scroll-bottom').click(function { $('html, body').animate({scrollTop:$(document).height}, 'slow') }); $('#toggle-ads').toggle(function {	$('#toggle-ads').attr('title','Mostrar anuncios');	$('.wikia-ad, .SelfServeUrl, .home-top-right-ads').hide('slow'); },	function {		$('#toggle-ads').attr('title','Ocultar anuncios');		$('.wikia-ad, .SelfServeUrl, .home-top-right-ads').show('slow');	} ); $('#hide-rail').toggle(function {	$('#hide-rail').css({'transform':'rotateY(180deg)','-moz-transform':'rotateY(180deg)','-webkit-transform':'rotateY(180deg)','-ms-transform':'scaleX(-1)','-o-transform':'scaleX(-1)'});	$('#hide-rail').attr('title', 'Show rail');	$('.WikiaRail').hide('slow');	$('.WikiaMainContent').animate({width:'1010'}, 'slow'); },	function {		$('#hide-rail').css({'transform':'rotateY(0deg)','-moz-transform':'rotateY(0deg)','-webkit-transform':'rotateY(0deg)','-ms-transform':'scaleX(1)','-o-transform':'scaleX(1)'});		$('#hide-rail').attr('title', 'Hide rail');		$('.WikiaRail').show('slow');		$('.WikiaMainContent').animate({width:'670'}, 'slow');	} );

/* Monchomans chat hacks */ importScriptURI("https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js") importScriptURI('http://vegadark.wikia.com/index.php?title=MediaWiki:RapiTareas.js&action=raw&ctype=text/javascript'); importScriptPage('User:Monchoman45/ChatHacks.js/i18n.js', 'c'); window.customFonts = ["Old English Text MT", "Death Font", "Webdings"];