javascript-obfuscator-ui icon indicating copy to clipboard operation
javascript-obfuscator-ui copied to clipboard

Save my own preset and choose it easily from dropdown list

Open solofotinah opened this issue 4 years ago • 6 comments

Is there any way to save my own preset ?

I want having to choose it easily from dropdown list, like that :

capture 2021-01-24

solofotinah avatar Jan 24 '21 09:01 solofotinah

Hi. Right now your current options are saved in the LocalStorage, so after a page refresh, these options will be restored. But no, right now you can't save your options as a preset.

sanex3339 avatar Jan 24 '21 09:01 sanex3339

PR welcomed

sanex3339 avatar Jan 24 '21 09:01 sanex3339

What about modifing an existed one. Can I take 'High' Preset, and customizing it to fit to my options ? If yes, which files need to be modified ?

solofotinah avatar Jan 24 '21 09:01 solofotinah

It's better to save current options under custom preset.

sanex3339 avatar Jan 24 '21 09:01 sanex3339

Sure, it is the best solution.

But my idea of modifying 'High Preset' is a provisory workarround until next release. If it's possible, I want to know which files have to be edited.

solofotinah avatar Jan 24 '21 09:01 solofotinah

Please consider that would be important to import/export obfuscation parameters. As example, I had to reformat my development PC, or think about more people in a project using same obfuscator parameters in their modules, or again me saving in SVN all codes and configurations. Thanks.

interazioni avatar Jan 24 '21 14:01 interazioni