Commons:User scripts/users namespace/reports/User:Platonides/antilocalXSS.js

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

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

jshint[edit]

  1. ISSUE: line 14 character 86: Expected a conditional expression and instead saw an assignment. - Evidence: for (var i=0; a = document.getElementById('bodyContent').getElementsByTagName("a")[i]; i++) {
  2. ISSUE: line 15 character 100: Use '===' to compare with 'undefined'. - Evidence: if (((a.href.indexOf('&script=') != -1) || (a.href.indexOf('&fakeaction=') != -1)) && (a.onclick == undefined)) {
  3. ISSUE: line 25 character 15: Use '!==' to compare with ''. - Evidence: if (Malicious != "")