-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Not working in IE #14
Comments
At first - |
i got error - looking into that |
found error, finding way to fix it |
Great! :) Il giovedì 1 settembre 2016, Timofey Kachalov notifications@github.com ha
|
Fixed in 0.7.1 |
@sanex3339 in my original code I have "prova" instead of "try", I've translated italian named vars here for more clarity :) |
You haven't error after fix? |
I'm using your code with CLI on Windows, installed with NPM command.
If so, it doesn't work yet. |
better use |
Have you found the error? |
with 0.7.1 you still getting the same error? with same message? |
Yes |
strange. ok, i will look into this later. |
Have you tryed yourself? |
yep, yesterday after fix the error was missing |
I tested with this code
Everything is OK. |
Show me your obfuscated code |
var _0x23eb=['\x6c\x6f\x67','\x62\x65\x6e\x76\x65\x6e\x75\x74\x6f\x21','\x63\x69\x61\x6f','\x61'];(function(_0x276de8,_0x211059){var _0x5db4a3=function(_0x3c66e9){while(--_0x3c66e9){_0x276de8'\x70\x75\x73\x68';}};(function(){var _0x5a3298=function(){return'\x64\x65\x76';};!Function('\x72\x65\x74\x75\x72\x6e\x2f\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d\x2f')()'\x74\x65\x73\x74'?[]['\x66\x69\x6c\x74\x65\x72']'\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'():Function('\x61','\x62','\x61\x28\x2b\x2b\x62\x29')(_0x5db4a3,_0x211059)?[]['\x66\x69\x6c\x74\x65\x72']'\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'():[]['\x66\x69\x6c\x74\x65\x72']'\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'();}());}(_0x23eb,0xfe));var _0x3e42=function(_0xbc90c9){return _0x23eb[parseInt(_0xbc90c9,0x010)];};(function(){var _0x3517a1=function(){return'\x64\x65\x76';},_0x39dac5=function(){return'\x77\x69\x6e\x64\x6f\x77';};!Function('\x72\x65\x74\x75\x72\x6e\x2f\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d\x2f')()'\x74\x65\x73\x74'?Function('\x72\x65\x74\x75\x72\x6e\x2f\x28\x5c\x5c\x5b\x78\x7c\x75\x5d\x28\x5c\x77\x29\x7b\x32\x2c\x34\x7d\x29\x2b\x2f')()'\x74\x65\x73\x74'?[]['\x66\x69\x6c\x74\x65\x72']'\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'():[]['\x66\x69\x6c\x74\x65\x72']'\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'():[]['\x66\x69\x6c\x74\x65\x72']'\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'();}());function salutami(){alert(_0x3e42('0x0'));var _0x4bf6b0=_0x3e42('0x1');_0x4bf6b0='\x63\x69\x61\x6f';}function load(){console_0x3e42('0x2');} |
it is your code instantly after obfuscation? because it is wrong code. |
Yes shure, I'm generating it by CLI interface on Windows 10. You? |
Mac OS. Here my code after CLI with same input source code and same CLI arguments:
|
In my opinion the problem should be Windows. |
I have no idea how windows can affects on code generation with escodegen |
It's is not a obfuscator problem. What node version you use? I tested on 0.12+ |
0.12.15 |
on 0.12.15 everything should be ok, look at travis-ci log |
Ok, the problem was "bash on Windows 10" feature. It's a pity that I must use Ubuntu VM to obfuscate my code. |
I think you should create an issue in |
About what exactly? |
Wrong code generation on bash on Windows 10 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have this sample code:
I'm using the CLI in this way:
javascript-obfuscator library.js --output ohoh.min.js --sourceMap true --disableConsoleOutput false
This simple HTML does not work in IE, whatever version...
...getting this error:
In both Google Chrome and Firefox is ok.
Thank you.
The text was updated successfully, but these errors were encountered: