I think it's impossible without modifying Chromium. Current extensions are "zipped bundle of files — HTML, CSS, JavaScript, images.... Extensions are essentially web pages". If you can't do this from an HTML page, you can't do it with an extension. Chromium must provide an API exposed to an extension.
You can try acting as Firebug lite does -- by injecting your code into a page. On Mon, Oct 18, 2010 at 18:21, Lautaro Dolberg <[email protected]> wrote: > Hello, Im wondering how I can use the V8 interceptors and stack trace > API from a google chrome extension. My idea is to build a JavaScript > tracer, so I'm looking for any mechanism to hook function calls and > dynamic code execution. > Thanks. Lautaro > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
