User:Ruakh/WiktEtylAlwaysLink.js

addOnloadHook ( function   {    var spans = document.getElementsByTagName('span');    for(var i = 0; i < spans.length; ++i)    {      var span = spans[i];      if((' ' + span.className + ' ').indexOf(' etyl ') == -1)        continue;      if(span.innerHTML.indexOf('<') > -1)        continue;      span.innerHTML =      ( '%s' ).replace(/%s/g, span.innerHTML);   }  } );