User:Technical 13/SandBox/NoThanks.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
Okay. Trying out "For history pages with undo links (or some other link)" section
Technical 13 (talk | contribs)
Debugging...
Line 11:
$elem.children('a.mw-thanks-thank-link').replaceWith('-⊗-');
// For history pages with undo links (or some other link)
$elem.html($elem.html().replace(' | -⊗-', ''));
// For history pages with no other links
// if ($elem.children('span.comment').html().length == 0){