User:Qwerfjkl/scripts/talkback.js: Difference between revisions

Content deleted Content added
m Add comments (via CAE)
Unnecessary
Line 17:
var newLinkId = "TBsubmit" + i;
newLinkString += '<a href=' + (($link[0].href).replace("User_talk:", "Special:Contributions/")) + ' style="font-size:x-small; display:inline-block;">C</a>|';
newLinkString += '<a style="font-size:x-small; display:inline-block;" title="Send a talkback!" noPopup=1 id="' + newLinkId + '" href= "'+($link[0].href).replace("User_talk:", "User:")+'">TB</a>'; // add href so there is a link to the userpage just before the timestamp
$($link).after(newLinkString);
$("#" + newLinkId).click({