javascript-obfuscator: Obfuscated code fails to work in IE8

Hello! I know IE8 is a little bit outdated, but still =) Running the obfuscated script on IE8 outputs the following error: 'filter' is null or not an object

I assume this is caused by this JSFuck line, as Array.filter support started from IE9: Window: '[]["filter"]["constructor"]("return this")()',

If this is the case, it should probably be safe to change this for a more supported method, such as push: Window: '[]["push"]["constructor"]("return this")()',

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (13 by maintainers)

Most upvoted comments

thanks, after disable the consoleoutput, it works.