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

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

jshint edit

  1. ISSUE: line 113 character 29: Expected a 'break' statement before 'default'. - Evidence: case 'thumbnail':
  2. ISSUE: line 132 character 21: 'div' is already defined. - Evidence: var div = document.createElement( 'div' );
  3. ISSUE: line 173 character 32: ['cortado'] is better written in dot notation. - Evidence: this.clientSupports['cortado'] = true;
  4. ISSUE: line 189 character 32: ['cortado'] is better written in dot notation. - Evidence: this.clientSupports['cortado'] = true;
  5. ISSUE: line 206 character 44: ['videoElement'] is better written in dot notation. - Evidence: this.clientSupports['videoElement'] = true;
  6. ISSUE: line 210 character 44: ['videoElement'] is better written in dot notation. - Evidence: this.clientSupports['videoElement'] = true;
  7. ISSUE: line 218 character 36: ['videoElement'] is better written in dot notation. - Evidence: this.clientSupports['videoElement'] = true;
  8. ISSUE: line 222 character 64: Use '===' to compare with '0'. - Evidence: if (!navigator.mimeTypes || navigator.mimeTypes.length == 0) {
  9. ISSUE: line 249 character 36: ['cortado'] is better written in dot notation. - Evidence: this.clientSupports['cortado'] = true;
  10. ISSUE: line 320 character 28: 'type' is already defined. - Evidence: for ( var type in typesByPlayer[player] ) {
  11. ISSUE: line 362 character 23: Invalid typeof value 'String' - Evidence: if ( typeof s != 'String' ) {
  12. ISSUE: line 449 character 45: Script URL. - Evidence: a.href = 'javascript:void("' + player + '")';
  13. ISSUE: line 471 character 46: Script URL. - Evidence: a.href = 'javascript:void("options")';
  14. ISSUE: line 483 character 39: Use '===' to compare with ''. - Evidence: } else if ( elt.style.cssText == '' ) {
  15. ISSUE: line 499 character 10: Missing semicolon. - Evidence: }
  16. ISSUE: line 509 character 10: Missing semicolon. - Evidence: }
  17. ISSUE: line 709 character 85: Missing semicolon. - Evidence: div.style.cssText = 'width:' + ( params.width - 10 ) + 'px;'
  18. ISSUE: line 769 character 1: document.write can be a form of eval. - Evidence: document.write('<script type="text/javascript" src="'
  19. ISSUE: line 774 character 1: document.write can be a form of eval. - Evidence: document.write('<script type="text/javascript" src="'
  20. ISSUE: line 779 character 1: document.write can be a form of eval. - Evidence: document.write('<script type="text/javascript" src="'
  21. ISSUE: line 792 character 21: Use '===' to compare with ''. - Evidence: if( editbox.value == '' )
  22. ISSUE: line 824 character 177: Missing semicolon. - Evidence: desc1.innerHTML = '<iframe src="http://tools.wikimedia.de/~gmaxwell/cgi-bin/cattersect.py" width="100%" height="1000" style="border:none;" allowtransparency="true"></iframe>'
  23. ISSUE: line 826 character 2: Missing semicolon. - Evidence: }