User:SuperSajuuk/wikia.js

(function (window, $, mw) {	"use strict";

// Append a notice after infobox. var title = wgPageName.split(":",1); if(title == "Infobox") { var getPage = wgPageName.split("Infobox:"); getPage = getPage.replace(/,/g, " "); alert("After Replacement: "+getPage); // $("table.mobile-ibox").after(" Return to article "); } }(window, jQuery, mediaWiki));