[Greasemonkey] New patched greasemonkey for Firefox 1.5 beta 2

Gareth Andrew freega at freegarethandrew.org
Tue Oct 11 01:13:58 EDT 2005


Hi Chris,

What version of bookburro and zoomtextarea are you trying to use?  The
versions I downloaded don't seem to be compatible with GM 0.6.2 i.e.
they use onclick instead of addEventListener()[1]. I also tried the
patched version of bookburro at [2], but it doesn't do anything or give
an error.  
As for the patch, I made heavy use of log() and made the simplest patch
I could to make the error go away without changing functionality.
Although, it has to be said, I have no idea why this patch was needed,
since the Array.join code hasn't changed in years, and is presumably
pretty stable.  I suspect there may be still be a few problems with
XPCNativeWrappers, but I can't debug any further without a debug build
of firefox and a lot of patience.

Gareth.

[1]http://dunck.us/collab/GreaseMonkeyUserScripts#head-4ac4d1e80f8bbd66bf4f1fbea77ea2390b6a2870
[2]http://www.lysator.liu.se/~jhs/userscript/bookstores/bookburro.user.js

On Mon, 2005-10-10 at 16:31 -0400, chris feldmann wrote:
> On 10/10/05, Alf Eaton <lists at hubmed.org> wrote:
> > This seems to fix my problems. Thanks Gareth.
> >
> > alf.
> 
> Indeed, every page in the list you posted logs the hello with this
> patch. But amazon, for instance, still returns a Component not
> available for bookburro and zoomtextarea. In fact, bookburro seems
> broken on all book sites, which cuts down on its usefulness rather
> drastically. Looking at Gareth's patch I am doubtful I could have
> figured out that problem, or better put I'm not sure where one would
> start looking. You don't have venkman because it doesn't catch
> injected scripts.
> 
> So Gareth, if you don't mind me asking, how did you figure out to
> tweak the syntax of the argument string when faced with the rather
> cryptic "Component not available?"
> 




More information about the Greasemonkey mailing list