Errata for Greasemonkey Hacks
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update
Second code example
In the "Examples" section on page 22, the first line of the first code snippet is
var SnapFoo = document.evaluate(//*[@class='foo']",
That snippet is missing a leading double quotation mark. Here's what it should be:
var SnapFoo = document.evaluate("//*[@class='foo']",