1

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?

Ura
  • 2,173
  • 3
  • 24
  • 41
  • 1
    Not a perfect solution, but you can copy and paste it into http://jsbeautifier.org/ – Jeremy May 21 '11 at 02:02
  • It unfortunately doesn't have any impact on inline JavaScript, but for the sake of reference, the extension linked to [in this answer](http://stackoverflow.com/questions/4279319/4823647#4823647) formats minified external files on the fly. – Tim Stone May 21 '11 at 22:32

3 Answers3

3

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

pthurlow
  • 1,091
  • 7
  • 11
1

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

Gio Borje
  • 20,314
  • 7
  • 36
  • 50
0

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