Commons:User scripts/users namespace/reports/User:Elvey/hidetopcontrib.js

This is the report page for User:Elvey/hidetopcontrib.js. It is bot-maintained. All manual changes might be overwritten.

jshint edit

  1. ISSUE: line 40 character 15: The array literal notation [] is preferable. - Evidence: a=new Array();
  2. ISSUE: line 47 character 73: Use '===' to compare with 'undefined'. - Evidence: if(li[i].innerHTML.match(/<abbr +[^>]*class *= *(['"])?newpage\1/i)==undefined) b++;
  3. ISSUE: line 48 character 73: Use '!==' to compare with 'undefined'. - Evidence: if(li[i].innerHTML.match(/class *= *(['"])?mw-revdelundel-link\1/i)!=undefined) b++;
  4. ISSUE: line 55 character 99: Use '!==' to compare with 'undefined'. - Evidence: if( /* li[i].getElementsByTagName("strong").length>0|| */ li[i].innerHTML.match(/mw\-uctop/i)!=undefined)
  5. ISSUE: line 60 character 13: Use '!==' to compare with 'undefined'. - Evidence: if(a[t]!=undefined)
  6. ISSUE: line 65 character 10: Use '!==' to compare with ''. - Evidence: if(s!="")
  7. ISSUE: line 73 character 61: Script URL. - Evidence: mw.util.addPortletLink(portletId, 'javascript:hidetopcontrib()', portletText, 'ca-hidetop',