[Greasemonkey] component is not available

Philip Taffner sabel at altmuehlnet.de
Wed May 17 01:48:14 EDT 2006


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


More information about the Greasemonkey mailing list