I'm trying to add a new button to the fbNetButtons with the idea of
filtering the net request rows based on some rules. I'd like your
input on how to format these rules. The rules should be either loaded
from an external file (file or URL) or added from the UI. I know
you're working on the Net Panel - Advanced Filtering functionality but
until that comes...
When clicking on this button, the net request table should show only
rows with specific hostnames (I'm using CSS as in your fileCategory
filter). Each website's hostname will have a list of hostnames for
which rows should be shown (I will need a mapping between the
website's hostname - possibly regexp - and associated net request
hostnames). When clicking on the rows, there'll be an extra tab with
info specific to that hostname (will need a mapping between hostnames
and the info to be displayed).
Do you recommend any specific format? Will JSON do just fine?
Thanks,
Pedro
I guess you are talking about:
http://www.malditocrc.com.ar/peregrino/lab/firebug/advfilters/
extension that is made by Hernán.
> When clicking on this button, the net request table should show only
> rows with specific hostnames (I'm using CSS as in your fileCategory
> filter). Each website's hostname will have a list of hostnames for
> which rows should be shown (I will need a mapping between the
> website's hostname - possibly regexp - and associated net request
> hostnames). When clicking on the rows, there'll be an extra tab with
> info specific to that hostname (will need a mapping between hostnames
> and the info to be displayed).
> Do you recommend any specific format? Will JSON do just fine?
I have personally good experience with storing data as JSON. It easy
to
manipulate using built in JSON support (JSON.parse + JSON.stringify)
and
it nicely fits into the Javascript world.
Honza
> I guess you are talking about:http://www.malditocrc.com.ar/peregrino/lab/firebug/advfilters/
> extension that is made by Hernán.
Didn't know there was a release already. Perhaps someone from the FB
team could look into updating the page at
http://groups.google.com/group/firebug-working-group/web/net-panel---advanced-filtering?
> I have personally good experience with storing data as JSON. It easy
> to
> manipulate using built in JSON support (JSON.parse + JSON.stringify)
> and
> it nicely fits into the Javascript world.
Thanks for the input.
Pedro
I quite like all the ideas related to advanced filtering of the Net
panel. Not sure in which state the existing extension is, but it would
be great if we can somehow cooperate and incorporate further ideas
(e.g. I am willing to provide better Firebug APIs anywhere helpful).
> Perhaps someone from the FB
> team could look into updating the page athttp://groups.google.com/group/firebug-
> working-group/web/net-panel---...
You are right, could you please report a new bug for this so, it's not
forgotten here in the noise?
Thanks!
Honza
I'll post a message here once I have something working. On another
note, what's the recommended way to show a preferences window for
Firebug extensions? I need to present users with a UI that would allow
them to fetch the rules and if necessary add/remove/update them.
> You are right, could you please report a new bug for this so, it's not
> forgotten here in the noise?
Done, issue 2992.
Pedro
> I quite like all the ideas related to advanced filtering of the Net
> panel. Not sure in which state the existing extension is, but it would
> be great if we can somehow cooperate and incorporate further ideas
> (e.g. I am willing to provide better Firebug APIs anywhere helpful).