User:Winter7073/wikia.js

function addMastheadTags { var rights = {}; // BEGIN List of Accounts Given Extra User Rights Icons

rights["PhilippL"]               = ["User"];

// END List of Accounts Given Extra User Rights Icons // BEGIN Script to Remove Old Rights Icons & Insert New if (wgCanonicalSpecialPageName == "Contributions") { var user = wgPageName.substring(wgPageName.lastIndexOf("/")+1).replace(/_/g," "); } else { var user = wgTitle; } if (typeof rights[user] != "undefined") { // remove old rights $('.UserProfileMasthead .masthead-info span.tag').remove; for( var i=0, len=rights[user].length; i < len; i++) { // add new rights $('' + rights[user][i] +         ' ').appendTo('.masthead-info hgroup'); }   }  // END Script to Remove Old Rights Icons & Insert New }; $(function { if ($('#UserProfileMasthead')) {    addMastheadTags;  } }); // END CREATING ADDITIONAL USER RIGHTS ICONS FOR PROFILEMASTHEADS //

$("ul.tools li:first-child").before("Uncategorized Files");

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/lllioliol/images/e/e1/Userpageimage.png/revision/latest?cb=20150908185840", "speedTip": "Userpageimage", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/central/images/4/40/ButtonEditText2583.jpeg/revision/latest?cb=20151025001506", "speedTip": "Userpageimage Text", "tagOpen": "Userpageimage", "tagClose": "", "sampleText": ""}; }

$(".UserProfileMasthead .masthead-avatar .avatar[src='http://vignette1.wikia.nocookie.net/common/avatars/e/e2/4261769.png/revision/latest/scale-to-width-down/150?cb=1444203159&format=jpg']").attr("src","http://img10.deviantart.net/82cb/i/2011/206/4/e/snivy_used_attract_by_geo_lite-d41mheg.png");

$(".UserProfileMasthead .masthead-avatar .avatar[src='http://vignette4.wikia.nocookie.net/common/avatars/0/01/5558012.png/revision/latest/scale-to-width-down/150?cb=1348799207&format=jpg']").attr("src","http://vignette2.wikia.nocookie.net/lllioliol/images/4/46/Si56282.png/revision/latest?cb=20151008152934");

$('ul.tools li:first-child').before('Blocked Users');

$(".UserProfileMasthead .masthead-info hgroup h1:contains('Darytyg The Furry Darryn')").html("Manglytyg");

$(".UserProfileMasthead .masthead-avatar .avatar[src='http://static.wikia.nocookie.net/3f9ecc52-95a3-49ac-bb8c-a9bf8f56bdef/scale-to-width-down/150']").attr("src","http://static.wikia.nocookie.net/7e376dd9-f29c-47af-866a-ab1266c96565/scale-to-width-down/150");

$("#UserProfileMasthead .masthead-info .details li:first-child span:after").innerHTML = "fox cave";

$("#UserProfileMasthead .masthead-info hgroup h2 span:after").innerHTML = "the fox"