Options
Zombie Code
var a=1; var b=2;
becames
var _0x; var a = 1;
_0x = "jfci"; var b = 2;
Regexp Standard
var regExp = /hello/g;
becames
var regExp = new RegExp("hello", "g");
JSON Standard
var man = {name:"tim", age:18};
becames
var man = {"name":"tim","age":18};
Rename Private Function
function demo(){
var age = 99;
function demo_sub(){
}
}
becames
function demo(){
var age = 99;
function _0x62a87c(){
}
}
Rename Private Variable
function demo(){
var age=99;
}
becames
function demo(){
var _0xk$r=99;
}
Private Variable To Function Param
function demo(){
let v1 = 1;
var v2 = 2;
const v3 = 3;
}
becames
function demo(v1,v3) {
v1 = 1;
var v2 = 2;
v3 = 3;
}
Numeric Literal Encode
var num = 123;
becames
var num = 683517 ^ 683398;
Boolean Literal Encode
var done = true;
becames
var done = !![];
Dot Punctuation To Bracket
var weGet = we.get;
becames
var weGet = we["\u0067\u0065\u0074"];
String To Unicode
var js = "JS";
becames
var js = "\u004a\u0053";
Reverse String
var name = "tom";
becames
var name = "mot".split("").reverse().join("");
comments
compact
please use js-obfuscator.com.