You can do this with a "proxy browser", if you look you should find
many small efforts that do this.

You might be able to use the firebug-channel-listener or firebug-http-
observer. Firebug is typically a "response" element, not an
"intercepter" so we don't know much about how to intercept.

jjb

On Dec 8, 5:03 am, jomaras <[email protected]> wrote:
> Hi all,
>
> I'm building a Firebug extension for "deobfuscating" (formatting
> minified code) JavaScript code (i know there already exist some).
>
> Is there a way to intercept when the browser fetches a code file, do
> some manipulation on it, and then return, in my case a "properly"
> formatted code file - so that the formatted code gets executed instead
> of the original one. This sounds like (and basically is)  code
> injection, but not in any malicious way.
>
> I'm curious to know - is there a right way to do that interception in
> Firebug (which Firebug code files should i check out, is there some
> suitable listener to register to, etc.)
>
> Thanks for any help!
>
> Josip

-- 
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