User:CodeHydro/enhancedItemX.js

if(!window.itemX) { e = document.getElementsByClassName("external text");itemX=[]; for(i=0;i<e.length;i++) if(e[i].innerHTML=="e"&&(ggp=e[i].parentNode.parentNode.parentNode).tagName.toLowerCase=="li"&&(ggp.family=[ggp.parentNode.parentNode.family && ggp.parentNode.parentNode.family[0] || e[i].href, e[i].href])) ggp.title = ggp.innerHTML.substring(1,2) * ((itemX.push(ggp) && (ggp.parentNode.parentNode.tagName.toLowerCase=="li" && ggp.parentNode.parentNode.title)) || 1); else if (e[i].innerHTML=="edit recipe") e[i].parentNode.parentNode.parentNode.family=[e[i].href]; sum = []; for(i=0;i itemX[i].childNodes[0].textContent.substring(1,3)) itemX[i].childNodes[0].textContent = itemX[i].childNodes[0].textContent.trim + "-" + sum[itemX[i].family.join] + " "; }