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

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

jshint edit

  1. ISSUE: line 6 character 5: document.write can be a form of eval. - Evidence: document.write('<script type="text/javascript" src="http://commons.wikimedia.org/w/index.php?title=' + s
  2. ISSUE: line 22 character 1: document.write can be a form of eval. - Evidence: document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s"><\/script>');
  3. ISSUE: line 177 character 15: Implied eval. Consider passing a function instead of a string. - Evidence: timerID = setTimeout('showtime()', 100);
  4. ISSUE: line 226 character 68: Use '===' to compare with '0'. - Evidence: if(document.title.indexOf("Editing Commons:Deletion requests") == 0)
  5. ISSUE: line 228 character 65: Script URL. - Evidence: addlilink(tabs, 'javascript:closedel(prompt("Result?"))', 'close deletion request', '');
  6. ISSUE: line 253 character 47: Use '===' to compare with 'null'. - Evidence: if (document.getElementById("wpTextbox1") == null && getParamValue("action") != "delete") {
  7. ISSUE: line 265 character 31: Unexpected escaped character '<' in regular expression. - Evidence: content = content.replace(/([^\[])\[{2}([^\[\]\|\<\>\n]*)([^\[\]\<\>\n]*?)?\]{2}([^\]])/g, '$1<a class="autolink" href="/wiki/$2">[[$2$3]]</a>$4'); // Make wikilink code into links
  8. ISSUE: line 265 character 31: Unexpected escaped character '<' in regular expression. - Evidence: content = content.replace(/([^\[])\[{2}([^\[\]\|\<\>\n]*)([^\[\]\<\>\n]*?)?\]{2}([^\]])/g, '$1<a class="autolink" href="/wiki/$2">[[$2$3]]</a>$4'); // Make wikilink code into links
  9. ISSUE: line 266 character 31: Unexpected escaped character '<' in regular expression. - Evidence: content = content.replace(/([^\{])\{{2}(subst\:|msg\:)?([^\{\}\|\<\>\n]*)([^\{\}\<\>\n]*?)?\}{2}([^\}])/g, '$1<a class="autolink" href="/wiki/Template:$3">{{$2$3$4}}</a>$5'); // Make template code into links
  10. ISSUE: line 266 character 31: Unexpected escaped character '<' in regular expression. - Evidence: content = content.replace(/([^\{])\{{2}(subst\:|msg\:)?([^\{\}\|\<\>\n]*)([^\{\}\<\>\n]*?)?\}{2}([^\}])/g, '$1<a class="autolink" href="/wiki/Template:$3">{{$2$3$4}}</a>$5'); // Make template code into links
  11. ISSUE: line 1 character 11: Missing semicolon. - Evidence: showtime()