User:Msh210/abusehist.js

//N.B.: This does not work, and I don't know why not. if (document.URL.search(/special:abuselog\/\d/i)>0) { a=document.getElementsByTagName('fieldset')[0].getElementsByTagName('p')[0].getElementsByTagName('a'); for (i=0;i0) { a=document.getElementsByTagName('ul')[0].getElementsByTagName('a'); for (i=0;i<a.length;a++) {if ((a[i].title.indexOf(':')<0) && (a[i].href.indexOf('?')<0)) a[i].href+='?action=history'}; }