Is there any HTML or Javascript decompiler available?
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.
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.
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.
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.
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.
Ctrl + U :D On a serious note HTML and JS are not compiled as such , the code is generally open for all to see
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With