Click here to Skip to main content
15,938,218 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am trying to obfuscate my JavaScript code using some online obfuscators available. Can Anyone help me with the working mechanisms(algorithms)of any of the Javascript obfuscatars or Is there any possibility of developing my own obfuscatar, If so how can I proceed???

What I have tried:

I Tried searching to find out the mechanism of javascript Obfuscators available. But could not find out the working algorithm on which the current obfuscators are working on.
Posted
Updated 1-Mar-16 3:51am
Comments
Kornfeld Eliyahu Peter 1-Mar-16 6:00am    
The question is: How the browser will understand the obfuscated JavaScript?!
Sinisa Hajnal 1-Mar-16 6:12am    
minimize the file, javascript is obfuscation enough :p
ZurdoDev 1-Mar-16 7:44am    
I'm not sure what you actually asking.
Member 12361063 1-Mar-16 23:33pm    
I mean how exactly the browser understand the obfuscated code????.
I want to know the mechanism (algorithms ) used in Javascript Obfuscator.

1 solution

Quote:
Is there any possibility of developing my own obfuscatar
How do you think existing obfuscators have been made ?
Quote:
Can Anyone help me with the working mechanisms(algorithms)
This not documented, some companies are making a living by selling obfuscators, they don't say how they do.
Quote:
I Tried searching to find out the mechanism of javascript Obfuscators available.
Some thecniques that reduce the sier of JS code have the side effect of making the code more difficult to read for human.
- remove comments
- remove indentation
- remove unnecessary spaces
- remove all End Of Lines (a JS program is 1 line)
- renaming variables and internal functions
It is just the beginning.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900