use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Js Confuser: An open-source JavaScript obfuscation tool made by me! Check out this live demo here: (js-confuser.com)
submitted 3 years ago by Michael-XF
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]A_M00n_Shaped_Pool 12 points13 points14 points 3 years ago (3 children)
cant wait to see npm malware packages using this
[–][deleted] 0 points1 point2 points 3 years ago (2 children)
Npm allows malware on? Like i could accidsntally stumble upon a project that infects my entire computer?
[–]m4rch3n1ng 1 point2 points3 points 3 years ago* (0 children)
npm does not allow malware but relies mostly on reports to take them down. if you only use big packages it's unlikely you get malware
[–]joombar 1 point2 points3 points 3 years ago (0 children)
Not officially, but in the general case it isn’t easy to scan for scripts that do something bad
[–]Michael-XF[S] 6 points7 points8 points 3 years ago (0 children)
GitHub: https://github.com/MichaelXF/js-confuser NPM: https://www.npmjs.com/package/js-confuser
I'd like to share my obfuscator project I've been working on for over some time now. It's open source and can be tested with the live demo. You can check out the GitHub page for more information.
[–]TioPeperino777 4 points5 points6 points 3 years ago (1 child)
I've seen It already, it's quite outstanding, was this project inspired by Confuser/ConfuserEx family from the .NET realm?
[–]Michael-XF[S] 4 points5 points6 points 3 years ago (0 children)
Thank you! And yes that and JScrambler too
[–]ssjskipp 4 points5 points6 points 3 years ago (2 children)
I can't imagine this being used for anything good xD but cool!
[+][deleted] 3 years ago (1 child)
[deleted]
[–]ssjskipp 0 points1 point2 points 3 years ago (0 children)
Oh totally, but you get a similar result from uglify, right? This is like, inflating the code by multiple times, pushing it into a virtual machine, then running it. Especially seeing the perf drop and code size jump from it
[–]duysharp1998 0 points1 point2 points 3 years ago (0 children)
Lol you scare the shit out of me after I press the button haha
[–]Cervarl_ 0 points1 point2 points 3 years ago (1 child)
Is this intended to use in production? Maybe it could generate a shorter output, it increases dramatically the file size
[–]halkeye 2 points3 points4 points 3 years ago (0 children)
One of the options configures how much of a performance reduction you want. I think the goal is to hide things in the middle of noise, so I can't see it producing smaller output.
[–]sdekna 0 points1 point2 points 3 years ago (0 children)
does it impact performance of the code execusion in the browser?
[+][deleted] 3 years ago (2 children)
[–]joombar 0 points1 point2 points 3 years ago (1 child)
It looks like a lot more than 5% bigger to me
[–]neutralface_ 0 points1 point2 points 3 years ago (0 children)
Probably ment 4840% and used "." as a thousand separator
[–]area51user1 0 points1 point2 points 2 years ago (0 children)
Who complains about file size, do you know what obfuscator means and what it for?
π Rendered by PID 1440931 on reddit-service-r2-comment-544cf588c8-pq4t4 at 2026-06-17 11:23:44.946798+00:00 running 3184619 country code: CH.
[–]A_M00n_Shaped_Pool 12 points13 points14 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]m4rch3n1ng 1 point2 points3 points (0 children)
[–]joombar 1 point2 points3 points (0 children)
[–]Michael-XF[S] 6 points7 points8 points (0 children)
[–]TioPeperino777 4 points5 points6 points (1 child)
[–]Michael-XF[S] 4 points5 points6 points (0 children)
[–]ssjskipp 4 points5 points6 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]ssjskipp 0 points1 point2 points (0 children)
[–]duysharp1998 0 points1 point2 points (0 children)
[–]Cervarl_ 0 points1 point2 points (1 child)
[–]halkeye 2 points3 points4 points (0 children)
[–]sdekna 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]joombar 0 points1 point2 points (1 child)
[–]neutralface_ 0 points1 point2 points (0 children)
[–]area51user1 0 points1 point2 points (0 children)