[Greasemonkey] Chickenfoot... Maybe not
Guillaume Lebleu
gl at brixlogic.com
Wed Aug 9 11:28:37 EDT 2006
I did the same. I noticed that this error seemed to happen when I was
already on google.com
Guillaume
Dave Land wrote:
> I installed Chickenfoot just now. Thought I'd take it for a spin.
>
> Went to their "Quick Start Guide" and entered the three-line script
> there:
>
> go("google.com")
> enter("uist 2005")
> click("google search")
>
> Instant failure:
>
> Error: page not loaded: use 'whenLoaded' on Mac/Linux
> in anonymous() line 530
> getLoadedHtmlDocument() line 4391
> getDocument() line 935
> enter() line 999
> top level line 3
>
> OK, I think... How hard can this "whenLoaded" thing be?
>
> I poke around in the docs and come up with this:
>
> whenLoaded(function handler, Window window)
>
> * handler
> * window
>
> Executes the given handler when the given window finishes loading.
>
> And this is supposed to be easier then JavaScript, how?
>
> Chickenfoot just went the way of so many extensions: in, then out
> again right away.
>
> Dave "I already know JavaScript" Land
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
>
> --No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.8/415 - Release Date: 8/9/2006
>
>
More information about the Greasemonkey
mailing list