Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script becomes empty after beautification #1633

Closed
razafinarivohanania opened this issue Feb 13, 2019 · 2 comments
Closed

Script becomes empty after beautification #1633

razafinarivohanania opened this issue Feb 13, 2019 · 2 comments

Comments

@razafinarivohanania
Copy link

razafinarivohanania commented Feb 13, 2019

Description

Hello, i've tested the JavaScript code below on https://beautifier.io/ but when i beautify it, all code is removed.

Input

The code looked like this before beautification:

var _0x0=[];

Current Output

There is nothing, just an empty result


Expected Output

The code should have looked like this after beautification:

var _0x0 = [];

Environment

Browser User Agent:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36

Language Selected: JavaScript

Settings

Example:

{
  "indent_size": "4",
  "indent_char": " ",
  "max_preserve_newlines": "5",
  "preserve_newlines": true,
  "keep_array_indentation": false,
  "break_chained_methods": false,
  "indent_scripts": "normal",
  "brace_style": "collapse",
  "space_before_conditional": true,
  "unescape_strings": false,
  "jslint_happy": false,
  "end_with_newline": false,
  "wrap_line_length": "0",
  "indent_inner_html": false,
  "comma_first": false,
  "e4x": false
}
@bitwiseman
Copy link
Member

Same issue as #1350. Work-around on the web page is to uncheck "Detect packers and obfuscators?"

@razafinarivohanania
Copy link
Author

@bitwiseman Thanks, it runs as expected when unchecking "Detect packers and obfuscators".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants