Comments (21)
thanks, after disable the consoleoutput, it works.
from javascript-obfuscator.
what version you use?
from javascript-obfuscator.
I've used 0.8.0. Should it help to update to 0.8.1?
from javascript-obfuscator.
Only one place where []["filter"]["constructor"]("return this")()
still using is following line (looks like i forgot to change this line):
https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/src/templates/custom-nodes/debug-protection-nodes/debug-protection-function-node/DebugProtectionFunctionTemplate.ts#L13
I will replace this line today on {}.constructor('debugger')()
from javascript-obfuscator.
Thanks! I see that this line is intended to be used with debug protection mode. However, my script has been built without debugProtection flag set to true (actually, without this flag at all, but readme says its default value is false). Is this a desired behavior?
from javascript-obfuscator.
maybe it is line here https://github.com/javascript-obfuscator/javascript-obfuscator/blob/0514793257b306d38b0936ec16031818b5e783c7/src/enums/JSFuck.ts
but i tested code before 0.8.0 release on ie9 in ie8 compatibility mode and it doesnt't throw any errors.
Anyway i change this lines today and i hope it helps for you.
from javascript-obfuscator.
Thanks again! One more issue: disableConsoleOutput option works not as expected:
With value set to true, console.log function is replaced with the following one:
This obviously hangs the page with an infinite loop, and surely this is not an expected behavior (this option is turned on by default!)
This also affects other console methods, such as warn, info and error.
from javascript-obfuscator.
One more issue: disableConsoleOutput option works not as expected
already fixed in 0.8.1. In 0.8.1 infinity loop replaced on just empty functions
from javascript-obfuscator.
That's correct, I was using an outdated dependency, my fault.
I'll close the issue for now, hope your fixes will resolve the initial problem.
from javascript-obfuscator.
reopen until fix
from javascript-obfuscator.
Ready in [email protected]
Please try and check.
from javascript-obfuscator.
Thanks, I will perform heavier autotesting on it next week. For now, I've performed several manual builds and they seem to work in IE8.
from javascript-obfuscator.
Nice!
from javascript-obfuscator.
any test results?
from javascript-obfuscator.
@sanex3339 hi,I'm using the webpage to do the obfuscate, the obfuscated code doesn't work in IE8.
from javascript-obfuscator.
Hi, show me your obfuscator options and if possible obfuscated code please.
Does the code without obfuscation work in IE8?
from javascript-obfuscator.
i will look into it
from javascript-obfuscator.
I haven't any runtime errors. How the code should work? Did you have runtime errors on IE8?
If you doesn't have any expected output to the console - set disableConsoleOutput
to false
. disableConsoleOutput
disable console.log
, console.error
, console.warn
and console.info
output to the console.
from javascript-obfuscator.
Nice!
from javascript-obfuscator.
So, i will close this issue. If you will find any problems with ie8 - just create new issue.
from javascript-obfuscator.
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.
from javascript-obfuscator.
Related Issues (20)
- Is it supports TypeScript to TypeScript obfuscation? HOT 3
- Remove it
- RenameIdentifier has bug for inner function declaration
- Debug Protection is not working on firefox 121.0+
- Using the internal link web worker method will have one more variable definition than the source code, but an error will be prompted.
- Obfuscating client/server esbuild code HOT 2
- Please don't auto exit after obfuscation in a CLI environment. HOT 1
- Chrome Extension Manifest v3 Service Worker HOT 2
- Keep file name
- Conflict Between javascript-obfuscator and Sentry Settings in Metro Configuration for React Native HOT 1
- `transformObjectKeys: true` shadows outer scope variable in some cases
- [Solved] Correct formatting of --config JSON file in Windows
- 'high-obfuscation' preset does not do 'split-strings' by default
- Variable length for `splitStringsChunkLength`
- "exclude" option is not excluding files from code obfuscation
- javascript-obfuscator:enable
- Backtick does not work in code
- minified return statement is not obfuscated correctly when transformObjectKeys is true
- Bug in dependency [email protected]
- Conversion from .apply to ['apply'] corrupts the application
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript-obfuscator.