Commons:User scripts/users namespace/reports/User:Ais523/monobook.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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

jshint[edit]

  1. ISSUE: line 75 character 26: The array literal notation [] is preferable. - Evidence: var monthname=new Array();
  2. ISSUE: line 88 character 14: Do not use String as a constructor. - Evidence: latesttime=new String(latesttime);
  3. ISSUE: line 94 character 48: Do not use Number as a constructor. - Evidence: mn1=""+monthname[latesttime.substr(5,2)]+" "+new Number(latesttime.substr(8,2))+
  4. ISSUE: line 97 character 10: Do not use Number as a constructor. - Evidence: mn2=""+new Number(latesttime.substr(8,2))+" "+monthname[latesttime.substr(5,2)]+
  5. ISSUE: line 101 character 11: Do not use Number as a constructor. - Evidence: " "+new Number(latesttime.substr(8,2));
  6. ISSUE: line 112 character 14: Use '===' to compare with 'null'. - Evidence: if(temp==null) temp=a[i].nextSibling.nextSibling.firstChild;
  7. ISSUE: line 113 character 17: Use '!==' to compare with 'null'. - Evidence: while(temp!=null)
  8. ISSUE: line 116 character 24: Use '!==' to compare with 'null'. - Evidence: if(temp.tagName!=null)
  9. ISSUE: line 120 character 17: Do not use Number as a constructor. - Evidence: temp2=new Number(temp2[1])*100+new Number(temp2[2]);
  10. ISSUE: line 120 character 42: Do not use Number as a constructor. - Evidence: temp2=new Number(temp2[1])*100+new Number(temp2[2]);
  11. ISSUE: line 122 character 20: Do not use Number as a constructor. - Evidence: if(temp2<new Number(latesttime.substr(11,2)+latesttime.substr(14,2))) {temp2=temp; break;}
  12. ISSUE: line 125 character 16: Use '===' to compare with 'null'. - Evidence: if(temp==null) break;
  13. ISSUE: line 128 character 15: Use '===' to compare with 'null'. - Evidence: if(temp2==null) {return;}
  14. ISSUE: line 129 character 37: Use '!==' to compare with 'null'. - Evidence: if(a[i].nextSibling.firstChild!=null) // IE-like whitespace handling
  15. ISSUE: line 167 character 5: eval can be harmful. - Evidence: eval(sr.responseText);
  16. ISSUE: line 168 character 25: Use '===' to compare with 'undefined'. - Evidence: if(WatchedCategories==undefined)