User:Markhurd/hidetopcontrib.js: Difference between revisions

Content deleted Content added
Markhurd (talk | contribs)
m Update commentary
Markhurd (talk | contribs)
Cater for all skins
Line 13:
// 110520 User:Waldir Better page check.
// 120206 MEH Cater for IE renderer differences.
// 120207 MEH Cater for all skins.
 
// This script hides lines according to who has the top contribution for a page.
Line 26 ⟶ 27:
var i,li,a;
li=document.getElementById("bodyContent");
if (li===null)
li=document.getElementById("article");
li=li.getElementsByTagName("li");
i=-1;