MediaWiki:Gadget-decrumb.js

$(document).ready(function{ var contentSub = document.getElementById("contentSub") if (null !== contentSub) { var newSubText = contentSub.innerHTML.replace(new RegExp("\\s&gt;\\s"+wgTitle,"i"), "")  if (0 == newSubText.length) {    contentSub.parentNode.removeChild(contentSub)  } else {    contentSub.innerHTML = newSubText  } }})