On Jul 19, 3:32 am, pedz <[email protected]> wrote:
> Suggestion:
>
> I was having trouble using eval.  What I ended up doing is putting the
> javascript into a script tag and appending it to the head element.  In my
> case, it was a much nicer way of doing things.  In firebug's case, it may be
> kinda hacky because you would have to set some global with the result and
> then fetch the result plus there might be synchronizing problems.  But if
> you did something like that, you could append the version to the type
> attribute of the script tag.
We did use this solution (appending a <script> tag into the current
page)
in the past, but it was very problematic solution. In fact, we tried
several
different approaches to implement the console/commandline.

In general, injecting anything (script or any other elements) into
every page is faulty.

According to all the experience we have - fixing the bug 591961 is the
best solution.
Or if anybody want to contribute to Firebug, issue 3358 suggests a
workaround.

Honza

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