8/12/2023 0 Comments Java script obfuscation![]() reservedNames reservedStrings seed selfDefending ⚠️ Don't change obfuscated code in any way after obfuscation with this option, because any change like uglifying of code can trigger self defending and code wont work anymore! ⚠️ This option forcibly sets compact value to true simplify ⚠️ in future releases obfuscation of boolean literals (true => !!) will be moved under this option. ![]() Enable it only if you know what it does! renamePropertiesMode ⚠️ Even in safe mode, renameProperties option MAY break your code. Enable it only if you know what it does! renameProperties ⚠️ this option MAY break your code. ![]() disableConsoleOutput ⚠️ This option disables console calls globally for all scripts domainLock ⚠️ This option does not work with target: 'node' Multiple domains and sub-domains domainLockRedirectUrl ⚠️ This option does not work with target: 'node' exclude forceTransformStrings ⚠️ This option affects only strings that shouldn't be transformed by stringArrayThreshold (or possible other thresholds in the future) identifierNamesCache Node.js API CLI identifierNamesGenerator identifiersDictionary identifiersPrefix ignoreImports inputFileName log numbersToExpressions optionsPreset renameGlobals ⚠️ this option can break your code. debugProtectionInterval ⚠️ Can freeze your browser! Use at own risk. deadCodeInjectionThreshold debugProtection ⚠️ Can freeze your browser if you open the Developer Tools. ⚠️ This option forcibly enables stringArray option. Use deadCodeInjectionThreshold to set percentage of nodes that will affected by dead code injection. ![]() controlFlowFlatteningThreshold deadCodeInjection ⚠️ Dramatically increases size of obfuscated code (up to 200%), use only if size of obfuscated code doesn't matter. Use controlFlowFlatteningThreshold to set percentage of nodes that will affected by control flow flattening. Installation Using Yarn or NPM In a Browser Usage obfuscate(sourceCode, options) obfuscateMultiple(sourceCodesObject, options) getOptionsByPreset(optionsPreset) CLI usage Obfuscate single file Obfuscate directory recursively Conditional comments Kind of variables Conflicts of identifier names between different files JavaScript Obfuscator Options options: CLI options: compact config controlFlowFlattening ⚠️ This option greatly affects the performance up to 1.5x slower runtime speed. ![]() JavaScript obfuscator Online version: Plugins: You can support this project by donating: NOTE! the README on the master branch might not match that of the latest stable release! If you have a question, check this section first: FAQ ⚠️ Important Only obfuscate the code that belongs to you. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |