User:Mr.Berto/global.js

/*Cambios recientes automaticos por Pcj y Grunny */ AjaxRCRefreshText = 'Actualización automatica'; AjaxRCRefreshHoverText = 'Refrescar esta página automáticamente'; ajaxPages = ["Especial:CambiosRecientes","Especial:WikiActivity"]; importScriptURI('http://vegadark.wikia.com/index.php?title=MediaWiki:RapiTareas.js&action=raw&ctype=text/javascript'); importScriptPage('AjaxRC/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 */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptURI("https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js") importScriptPage('User:Monchoman45/ChatHacks.js/i18n.js', 'c'); window.customFonts = ["Old English Text MT", "Death Font", "Webdings"];