Feature request: JavaScript domain blocking

1 view
Skip to first unread message

ceeb

unread,
Dec 11, 2006, 6:03:49 AM12/11/06
to Firebug
The new Firebug is the most amazing Firefox extension ever.

One option I'd really like is a domain blocker for JavaScript (like the
one in Console2) to prevent errors, warnings and messages from
third-party domains. For example, you can block messages generated by
Google Analytics, AdSense, or Maps so only errors in your JavaScript
are shown.

Keep up the great work!

Johan Sundström

unread,
Dec 12, 2006, 9:36:59 AM12/12/06
to fir...@googlegroups.com

Clean idea. I've been missing a feature to block specific errors I
never care about, for much the same reasons.

Assuming we did get a domain blocker, and it was used as you suggest,
I think it might be useful with three Firebug (window icon)
indicators, to separate the different cases "no errors at all" (green
checkmark), "only blocked errors" (something else, a discreet icon
with a descriptive tooltip, for instance) and "errors you care about"
(red "X Errors" indicator).

The middle one since I believe the feature is likely to come back to
bite you when, a few weeks after blocking Google Analytics, you try to
integrate Google Analytics on some site of yours, it doesn't work, you
can't figure out why, and the errors that would have helped you are
nowhere to be seen, or even known to exist in the first place.

My own (un)favourite error I'd like to eradicate, "CM8ShowAd is not
defined" (thanks to AdBlock, which gets rid of the script defining one
doing nasty badness :-), would fall in the same category. (It's one of
the errors I think wouldn't gain much leverage from a by-domain
blocker.)

--
/ Johan Sundström, http://ecmanaut.blogspot.com/

Reply all
Reply to author
Forward
0 new messages