Commons:User scripts/users namespace/reports/User:NQ/temp.js

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

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

jshint[edit]

  1. ISSUE: line 27 character 55: Use '!==' to compare with '0'. - Evidence: if (url.lastIndexOf("http://", 0) != 0 && url.lastIndexOf("https://", 0) != 0 && url.lastIndexOf("/", 0) != 0) return; //require http(s) links, avoid "javascript:..." etc. which mw.Uri does not support
  2. ISSUE: line 27 character 94: Use '!==' to compare with '0'. - Evidence: if (url.lastIndexOf("http://", 0) != 0 && url.lastIndexOf("https://", 0) != 0 && url.lastIndexOf("/", 0) != 0) return; //require http(s) links, avoid "javascript:..." etc. which mw.Uri does not support
  3. ISSUE: line 27 character 126: Use '!==' to compare with '0'. - Evidence: if (url.lastIndexOf("http://", 0) != 0 && url.lastIndexOf("https://", 0) != 0 && url.lastIndexOf("/", 0) != 0) return; //require http(s) links, avoid "javascript:..." etc. which mw.Uri does not support