User:Technical 13/common.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
m Replace to Numeric character references to avoid double replace
Technical 13 (talk | contribs)
m Debugging...
Line 9:
/* Virtual signature */
$('span[class="banned"]').each(function() {
this.innerHTML = this.innerHTML.replace("T13", "ShoeMakerTechnical 13");
this.innerHTML = this.innerHTML.replace("C", "ContributionsContributions");
this.innerHTML = this.innerHTML.replace("M", "MessageMessage");
this.hrefinnerHTML = this.hrefinnerHTML.replace('<a href="/wiki/User:Technical_13/Signature", title="User:Technical 13/Signature">&nbsp;• Click to learn how to view this signature as intended</a>', '');
this.title = this.title.replace("User:Technical 13/Signature", "");
this.innerHTML = this.innerHTML.replace("&nbsp;• Click to learn how to view this signature as intended", "");
})