Results 89 comments of Michael Brasington

I've also been thinking about encryption keys based on the column/line numbers of the code. When someone deobfuscates the code, they would get changed (Formatted, Some functions get removed, Expressions...

> Maybe a little out of topic but maybe something unique can be implemented by using HTML comments in javascript which everyone seems to forget about: Only works in browsers...

Pack does not support full module features yet. For now store `import.meta` into global variable, and modify the obfuscated output: ```js // Input.js console.log(importMeta.url); // Output.js var importMeta = import.meta;...

#150 Same issue. I'm open to add a `ZeroWidthMangled` mode if you have an implementation. Just send it as a reply or create PR.

Nice. Are people actually patching the `String.fromCharCode` and `String.prototype.charCodeAt` and bypassing Integrity?

String Compression includes the minified [Pako](https://github.com/nodeca/pako/blob/master/dist/pako_inflate.min.js) library, maybe a smaller library can be opted for

Changed to LZ-string in [2.0.0-alpha.3](https://www.npmjs.com/package/js-confuser/v/2.0.0-alpha.3). Also RGF functions will no longer re-include the String Compression library.

> I sugest be able to change the algorithm to the older version on the new 2.0 version for cases when something simpler will work. The old algorithm had decoding...

All obfuscated variables start with `"__p_"`. You can use a custom Rename Variables function to only change them. Also Rename Variables only changes names that are defined within the code,...

ES5 support was discontinued in 2.0. @babel/preset-env can transpile code to ES5 by targeting NodeJS 5.9. Changing the obfuscated code isn't recommended, as you may accidentally trigger Locks or break...