Commons:User scripts/users namespace/reports/User:MB-one/monobook.js

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

jshint edit

  1. ISSUE: line 71 character 12: Use '===' to compare with ''. - Evidence: if ( t == "" || t == "(+)" ) continue ;
  2. ISSUE: line 86 character 16: Use '===' to compare with 'null'. - Evidence: if ( catline == null || typeof catline == 'undefined' ) return ;
  3. ISSUE: line 102 character 2: Missing semicolon. - Evidence: }
  4. ISSUE: line 118 character 51: Script URL. - Evidence: remove_link.href = "javascript:hotcat_remove(\"" + encodeURIComponent( cat_title ) + "\");" ;
  5. ISSUE: line 129 character 51: Script URL. - Evidence: modify_link.href = "javascript:hotcat_modify(\"" + mod_id + "\");" ;
  6. ISSUE: line 166 character 27: The array literal notation [] is preferable. - Evidence: var summary = new Array () ;
  7. ISSUE: line 173 character 41: Use '!==' to compare with 'null'. - Evidence: if ( typeof hrc != "undefined" && hrc != null && hrc != "" ) {
  8. ISSUE: line 173 character 56: Use '!==' to compare with ''. - Evidence: if ( typeof hrc != "undefined" && hrc != null && hrc != "" ) {
  9. ISSUE: line 195 character 41: Use '!==' to compare with 'null'. - Evidence: if ( typeof hnc != "undefined" && hnc != null && hnc != "" ) {
  10. ISSUE: line 195 character 56: Use '!==' to compare with ''. - Evidence: if ( typeof hnc != "undefined" && hnc != null && hnc != "" ) {
  11. ISSUE: line 224 character 45: Script URL. - Evidence: a_add.href = "javascript:hotcat_add_new()" ;
  12. ISSUE: line 266 character 89: ['HotCatDelay'] is better written in dot notation. - Evidence: text.onkeyup = function () { window.setTimeout("hotcat_text_changed();", JSconfig.keys['HotCatDelay'] ); } ;
  13. ISSUE: line 266 character 38: Implied eval. Consider passing a function instead of a string. - Evidence: text.onkeyup = function () { window.setTimeout("hotcat_text_changed();", JSconfig.keys['HotCatDelay'] ); } ;
  14. ISSUE: line 296 character 10: Use '===' to compare with ''. - Evidence: if ( v == "" ) {
  15. ISSUE: line 366 character 10: Use '!==' to compare with ''. - Evidence: if ( v != "" ) {
  16. ISSUE: line 375 character 24: Use '===' to compare with 'null'. - Evidence: if ( xml == null ) return ;
  17. ISSUE: line 377 character 38: The array literal notation [] is preferable. - Evidence: var titles = new Array () ;
  18. ISSUE: line 388 character 28: The array literal notation [] is preferable. - Evidence: var titles = new Array () ;
  19. ISSUE: line 398 character 22: Use '===' to compare with '0'. - Evidence: if ( titles.length == 0 ) {