User:Writ Keeper/Scripts/sectionLinkShortener.js

$(document).ready(function {	$(".comment").each(function(ind, el) {		var links = $(el).children("a:first"); if(links.length > 0) {			sectionLink = links[0]; }		else return true; var regexResults = sectionLink.innerHTML.match(/→(.+)$/); if(regexResults != null) {			sectionLink.innerHTML = "→"; $(sectionLink).after(" " + regexResults[1] + " "); }	}); });