[Greasemonkey] component is not available
Philip Taffner
sabel at altmuehlnet.de
Wed May 17 02:40:43 EDT 2006
ok, sry. It does work!
on an example page it works, but on the page I actually want to modify
it doesn't. But I'll figure that out.
Thx for help!
daddydave schrieb:
> 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
>>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
More information about the Greasemonkey
mailing list