Variable Exclusion List

  • VariableExclusion
  • Free

Lets you specify which identifiers should not be renamed during obfuscation. Each line is a case-sensitive regular expression.

Example exclusion list:

^myname$
^myvalue$

Source code:

function(){
var myname;
var myvalue;
var hello;
}

Output — myname and myvalue are preserved, but hello is renamed:

function(){
var myname;
var myvalue;
var a;
}

Use [a-z] for lowercase and [A-Z] for uppercase matches. For example, ^my_ matches all identifiers starting with my_.