Ura
Ura

Reputation: 2283

Expand inline JS into multiline using firebug

There is an inline JS function inside an HTML page. Can firebug or some other tool expand the inline JS to multiline to make it easier for tracing the source?

Upvotes: 1

Views: 588

Answers (3)

pthurlow
pthurlow

Reputation: 1111

Not sure if this is what you're after, but FireRainbow does JS formatting in Firebug

Upvotes: 3

Gio Borje
Gio Borje

Reputation: 21114

Two online options that I know of that would expand inline JS to multiline: JavaScript Beautifier and JS Beautifier

Upvotes: 1

user743597
user743597

Reputation: 1

You could try copying and pasting into something that supports automatic formatting. Try pasting it @ http://jsbeautifier.org/.

Upvotes: 0

Related Questions