On Jun 24, 1:23 pm, "[email protected]" <[email protected]> wrote:
> In the older versions you used to be able to run expressions like:
>
> var foo = document.getElementsByTagName('div');
>
> and if you typed in foo you'd get the array containing all the divs.

I did this test:
1. open http://getfirebug.com
2. open Console panel, used the command line:
3. var foo = document.getElementsByTagName('div');
4. foo
I got
[div#wrap.group, div#header.group, div#logo-install.group, div#logo,
div#install.group, div#promo.group, div#boasting, div#screencast, div,
div#screencast-view, div.bigfirebug, div#features-wrap,
div#features.group, div.feature1, div.feature2, div#secondary.group,
div#contentarea.group, div#content.group, div#blog, div.post,
div.postDate, div.entry, div.post, div.postDate, div.entry, div.post,
div.postDate, div.entry, div#links, div#delicious-posts-
firebug.delicious-posts, div#delicious-posts-firebugnews.delicious-
posts, div#footer.group, div.nav, div#legal, div#copyright,
div.bigfirebug, div#fancybox-tmp, div#fancybox-loading, div,
div#fancybox-overlay, div#fancybox-wrap, div#fancybox-outer, div#fancy-
bg-n.fancy-bg, div#fancy-bg-ne.fancy-bg, div#fancy-bg-e.fancy-bg,
div#fancy-bg-se.fancy-bg, div#fancy-bg-s.fancy-bg, div#fancy-bg-
sw.fancy-bg, div#fancy-bg-w.fancy-bg, div#fancy-bg-nw.fancy-bg,
div#fancybox-inner]

>
> Now you can get away with typing complete gibberish into the console
> without a peep.

I get:

>>> complete gibberish
SyntaxError { source="with(_FirebugCommandLine){complete gibberish
\n};", fileName="resource://firebug_rjs/console/
commandLineExposed.js", lineNumber=149}

>
> Is there any way to get the old behavior back?

Yes, I suggest you try these instructions:

http://getfirebug.com/wiki/index.php/I_found_a_Firebug_Bug!

jjb

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