User:Siuenti/common.js

//, this puts translations of selected languages (the ones in myLangs) // at the top of the page to save scrolling // and seems to be working atm

function addTranslationsOK { var divs = document.getElementsByTagName("div"); var trDivs=[]; var myString=""; var myLangs=["Dutch","Spanish","Korean", "Persian", "German"] var targetLis=[];

for (var i=0;i" + gloss + lis[j].innerHTML + ""; }       }	} } document.getElementsByClassName("disambig-see-also")[0].innerHTML+=myString;

//document.getElementById("mw-content-text").innerHTML="Your selected translations:" + myString + document.getElementById("mw-content-text").innerHTML; } addTranslationsOK;