Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML or Javascript Decompiler Available [closed]

Tags:

html

Is there any HTML or Javascript decompiler available?

like image 575
SamSol Avatar asked May 29 '10 12:05

SamSol


People also ask

How do I decompile a file?

On the File menu, click Decompile. In the Destination folder box, enter the name of the folder where you want the decompiled files to be copied. In the Compiled help file box, enter the name of the compiled help (. chm) file you want to decompile.

How do I decompile a JavaScript?

You can't compile them, it's an interpreted language, not compiled one. What you can do is get Chrome, press CTR SHIFT I and use the WebKit console for debugging and taking JS apart, setting breakpoints and checking how the whole thing gets executed.

Where do you code JavaScript?

To write a JavaScript, you need a web browser and either a text editor or an HTML editor. Once you have the software in place, you can begin writing JavaScript code. To add JavaScript code to an HTML file, create or open an HTML file with your text/HTML editor.

How do I run a JavaScript program?

To execute JavaScript in a browser you have two options — either put it inside a script element anywhere inside an HTML document, or put it inside an external JavaScript file (with a . js extension) and then reference that file inside the HTML document using an empty script element with a src attribute.


3 Answers

There is not, since it's not compiled in the first place...is a javascript unpacker or un-minifier what you are after? If not, right click (or view menu), view source.

Also, Google Chrome has built-in tools for this and Firefox has Firebug, right click, inspect element in either.

like image 54
Nick Craver Avatar answered Sep 20 '22 02:09

Nick Craver


Ctrl + U :D On a serious note HTML and JS are not compiled as such , the code is generally open for all to see

like image 23
Ravi Vyas Avatar answered Sep 20 '22 02:09

Ravi Vyas


I just came up on this question from Google and decided to put in my two cents as things have changed.

You can use the Spidermonkey Javasccript shell. From this shell, you can actually disassemble script and view interpreter bytecode.

like image 44
Demian Brecht Avatar answered Sep 22 '22 02:09

Demian Brecht