XPathResult methods and properties not working greasemonkey userscript
posted 4 years ago
I have installed greasemonkey plug-in for Firefox (my FF version is 21.0). I wrote a userscript named mahesh.user.js
Now when I print the following
The Firebug debugger writes out the XPathResult object. But I am unable to use any of the XPathResult properties such as snapshotLength or methods such as iterateNext() or snapshotItem(). Nothing gets printed on the console if I do this.
Nothing gets printed on the console except for the first "I am here".