Author Topic: [Guide] How to view "obfuscated" code  (Read 849 times)

Did you ever open an add-on to find out how it does a certain thing only to be confronted by the fact that the starfish author put the whole code on one line?

There's a solution!

Step 1: Copy all the code

All the code is on one line :c

Step 2: Go to http://jsfiddle.net

Step 3: Drag the borders to make the top right field fill the screen


Step 4: Paste all code into top right field

Step 5: Click "TidyUp" at the top bar


Step 6: The code is now properly indented


You'll have to fix the for loops manually, but it does everything else correctly
I hope this helps some people as much as it has helped me


For some people.
Even if it's not your usual type of indention, it's a whole lot better to read than having the whole code on one line.
And seperating it by hand is only effective for small scripts.


eugh it still looks pretty bad

eugh it still looks pretty bad
It doesn't do spaces, if the code doesn't have any spaces there will be no spaces