On Apr 8, 8:38 pm, John J Barton <[email protected]> wrote:
> On Apr 8, 11:33 am, Canny <[email protected]> wrote:
>
> > > > On Apr 6, 9:11 pm, John J Barton <[email protected]> wrote:
>
> > > > Since the Script panel does display JavaScript code, is there a string
> > > > object representing the displayed JS code? Can I just pass that
> > > > string object to jsbeautifier to obtain a well-formatted JS code
> > > > string to display, given that the transformation happens before any
> > > > other
> > > > processing on the string such as syntax coloring?
>
> > > Sure, but the line numbers will be all wrong and Firebug will not work
> > > correctly as a result.
>
> > So do I have to intercept the scripts before Firefox browser gets
> > handling it? Is this doable via Firebug extension? If it is, could you
> > explain a little bit how?
>
> No good way I know about.
Yes, there is no good way for this at least using only Javascript.
Firebug is
intercepting all the incoming data, but not changing them.

I think you could take a look at Firekeeper extension (I think it's
also intercepting/modifying incoming data).

The keyword here for you is nsITraceableChannel.

Honza

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to