I hate to bring this here, while doing the learning of obfuscating the JS code, I encoded my code and then over wrote the orginal one without any backup :) Following is my obfuscated code.
Active8 months ago
Can anyone guide me the URL or any method to make it readable. I did this from this website and they seemingly provide on one way obfuscation services available on their website...this was my test code during a learning so would be greatful if anyone could help me out.
Kjuly
28.9k22 gold badges92 silver badges108 bronze badges
HTML/Oct/Hex Decoder This tool will attempt to revert any type of encoding (including Hex, html, Oct, etc). Very useful for webmasters trying to identify what a specific code is doing (from WordPress themes/plugins or Joomla templates).
FaisalKhanFaisalKhan
9213 gold badges14 silver badges30 bronze badges
5 Answers
Try this:http://jsbeautifier.org/
I tested with your code and worked as good as possible. =D
Alcides Queiroz AguiarAlcides Queiroz Aguiar
7,3403 gold badges22 silver badges39 bronze badges
Here's a new automated tool, JSNice, to try to deobfuscate/deminify it. The tool even tries to guess the variable names, which is unbelievably cool. (It mines Javascript on github for this purpose.)
rbonitorbonito
Trevor DixonTrevor Dixon
13.3k6 gold badges55 silver badges92 bronze badges
From the first link on google;
It won't get you all the way back to source, and that's not really possible, but it'll get you out of a hole.
cirruscirrus
4,1683 gold badges36 silver badges53 bronze badges
I have tried both of online jsbeautifier(jsbeautifier, jsnice), these tools gave me beautiful js code,
but couldn't copy for very large js (must be bug, when i copy, copied buffer contains only one character '-').
I found that only working solution was prettyjs:
sailfish009sailfish009
protected by Community♦Nov 9 '15 at 18:11
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged javascriptdeobfuscation or ask your own question.
Active1 year, 1 month ago
What's the best JavaScript URL decode utility? Encoding would be nice too and working well with jQuery is an added bonus.
at.
20.6k87 gold badges254 silver badges409 bronze badges
8 Answers
I've used encodeURIComponent() and decodeURIComponent() too.
GvS
6,0287 gold badges30 silver badges35 bronze badges
GeoffGeoff
5,29612 gold badges43 silver badges65 bronze badges
Matt
64.7k18 gold badges124 silver badges166 bronze badges
anshumananshuman
3,1001 gold badge14 silver badges13 bronze badges
you can get passed parameters by using this bit of code:
Or this one-liner to get the parameters:
Etienne DupuisEtienne Dupuis
10.7k5 gold badges41 silver badges54 bronze badges
Use this
I'm not a great JS programmer, tried all, and this worked awesome!
nithinreddynithinreddy
5,3423 gold badges33 silver badges42 bronze badges
dchacke
8,5519 gold badges48 silver badges101 bronze badges
Irfan MIrfan M
If you are responsible for encoding the data in PHP using urlencode, PHP's rawurlencode works with JavaScript's decodeURIComponent without needing to replace the + character.
Brent SelfBrent Self
Here's what I used:
In JavaScript:
In PHP:
You can also try it online here: http://www.mynewsfeed.x10.mx/articles/index.php?id=17
user3572058user3572058
CertainPerformance
134k17 gold badges88 silver badges116 bronze badges
methodpool.iomethodpool.io