User:Sulfur/global.js

importScriptURI('http://janitor.wikia.com/index.php?title=User:Sulfur/scripts.js&action=raw&ctype=text/javascript')

$.ready( function {

//remove Spotlight footer $('#SPOTLIGHT_FOOTER').remove; $('.WikiaFooter > h1').remove; //remove share stuff... $('#ca-share_feature').remove; //RC... $('a[data-id="wikiactivity"]').attr('href','/wiki/Special:RecentChanges').attr('title','Recent Changes').html('RC');

});

$(function killTheHorrorThatIsTheNewFileInfoPageAndReturnItToWhatIsWasWithinWhatIsPossible {	function kill(obj) {		obj.remove;		obj = undefined;	}	function resuscitate(obj) {		obj.show;		obj.css({"display": "block !important;"});	}	const HOPE = false;	if (HOPE) { // There is hope!		alert("Isn't this new file info page GREAT? I'm sure Wikia will listen to our ideas to make this better!");	} else { // No hope.		var horribleThings = $("body.ns-6 .page-listing, body.ns-6 #SeeMore");		kill(horribleThings);		var theImportantThing = $("div.more-info-wrapper");		resuscitate(theImportantThing);	} });