Firebug.CommandLine.evaluate(commandString, Firebug.currentContext, null, null, function(res) {}, function failure() {});
jQuery(context.window.document).ready(function(){
DO_SOMETHING();
});
--------------------------------------------------
> 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...
On Thursday, July 25, 2013 5:53:23 PM UTC+2, Jan Honza Odvarko wrote:
> 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.Could you please describe a bit more about this? I just execute a jQuery statement in my extension on the DOM currently loaded in FF.
Do you see any exceptions?
You could try to enclose the jQuery call in try-catch and see what exception could be there...I see no exception. Seems the JavaScript engine completely ignores the jQuery(context.window.document).ready(function().... code line.