Hi There,
I'm using FF3 on Mac and FB 1.3Xb7. I tried to make an extension
extending the Netmonitor (maybe other module) where I can put some
content to the console from my external domain while loading it in an
iframe for local testing purposes.
Meanwhile I could connect to the onLoad event of the Netmonitor and
write out some info but I don't know what exactly in the argument file
as object exists. I tried to write the file object ot the console but
it does nothing, only when I use the toString() method of the file
object I get back that this is an object.
example I made:
<code>
/**
* Model implementation.
*/
Firebug.MonitorModel = extend(Firebug.Module,
{
initializeUI: function(detachArgs)
{
Firebug.NetMonitor.addListener(this);
},
shutdown: function()
{
Firebug.NetMonitor.removeListener(this);
},
onLoad: function(context, file)
{
if ( file.href.indexOf('externaldomain.com') > -1 ) {
Firebug.Console.log("--> " + file.method + " "
+ file.href);
Firebug.Console.log(file.toString());
}
}
});
</code>
I hope somebody can help me to fulfill this little task
r. Sandor
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---