> The problem comes from the jQuery(context.window.document).ready... code. Is
something wrong in the code?
Is your extension source available somewhere?
Note that you are trying to run jQuery within chrome scope, i.e. where
Firefox extensions run.
So, it could be potential problem apart from the fact that jQuery must be
properly included
in your extension scope.
Do you see any exceptions?
You could try to enclose the jQuery call in try-catch and see what
exception could be there...
Honza
On Thursday, July 25, 2013 4:29:33 PM UTC+2, Ebrahim wrote:
>
> Hi all,
>
> I have the following simple code in my extension:
>
> --------------------------------------------------
>
> Firebug.CommandLine.evaluate(commandString, Firebug.currentContext, null,
> null, function(res) {}, function failure() {});
>
> jQuery(context.window.document).ready(function(){
>
> DO_SOMETHING();
>
> });
>
>
> --------------------------------------------------
>
> the commandString is a JavaScript script that makes a change to the page;
> it may add new content to the page or change the existing content. I
> checked and it works.
>
> Then the DO_SOMETHING function extracts the newly added content from the
> page. The problem is that DO_SOMETHING is not executed. The problem comes
> from the jQuery(context.window.document).ready... code. Is something
> wrong in the code?
>
> Thanks for any help,
> Ebrahim
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/c845dbc7-95a9-444e-8c40-f0dd50defb4e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.