[Greasemonkey] Help with Replace

Aaron Boodman zboogs at gmail.com
Wed Aug 3 19:25:47 EDT 2005


> thisLink=allLinks.iterateNext();
> while (thisLink) {
> 
>         thisLink=allLinks.href;

Why are you doing this? thisLink is already set by the first line I
quoted. allLinks.href is undefined because allLinks is an
XPathNodeIterator, not a hyperlink. I think this is your problem.
However, I've not tested it -- just guessing.

-- 
Aaron


More information about the Greasemonkey mailing list