code like that:
GM_xmlhttpRequest({
method: "POST",
url: tempUrl,
headers:{'Content-type':'application/x-www-form-urlencoded'},
data:encodeURI(tempPostvar),
onload: function(responseDetails)
{
try{
pulled = document.createElement('div');
pulled.innerHTML = responseDetails.responseText;
var pulleddoc =
document.implementation.createDocument("", "",
null);
pulleddoc.appendChild(pulled);
ex = ".//p...@class='error']";
err =
pulleddoc.evaluate(ex,pulled,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
ex = ".//d...@class='in']";
tag =
pulleddoc.evaluate(ex,pulled,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
not working with firefox 3.6,2 - eg tag.lenght is always 0 (should be
1), in older version of FF everything is ok
any sugestion ?
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.