User:Lenore/autolink.js: Difference between revisions

Content deleted Content added
mNo edit summary
disabilito nelle pagine normali (si blocca in quelle troppo grosse)
Line 57:
autolinkTargetDiv[0] = document.getElementsByClassName('comment');
autolinkColor = ''; // coloured links
} else { // in code sectionsreturn;
autolinkTargetDiv[0] = document.getElementsByTagName('pre');
autolinkTargetDiv[1] = document.getElementsByTagName('tt');
autolinkTargetDiv[2] = document.getElementsByTagName('code');
autolinkTargetDiv[3] = document.getElementsByTagName('source');
 
autolinkColor = ''; // coloured links
}
 
/* ------------------------------------------ Regex --------------------------------------------- */