[Greasemonkey] component is not available
daddydave
daddydave at gmail.com
Tue May 16 20:08:17 EDT 2006
I think this is related to the new security model:
Will this work? (UNTESTED):
imgButton.addEventListener('click', function(e) {
alert('test');
}, true);
On 5/16/06, Philip Taffner <sabel at altmuehlnet.de> wrote:
>
> Hi all,
>
> With this code:
>
> var imgButton = document.createElement('img');
>
> imgButton.onclick = function (e){
> alert('test');
> }
>
> I get the following error:
>
> "Component is not available."
>
> With this example-script, I get the same error.
> http://diveintogreasemonkey.org/casestudy/zoomtextarea.html
>
> Is there a bug in the current GM-release? How to fix it?
>
> Thanks,
> Philip
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
More information about the Greasemonkey
mailing list