yes the item is in there and it clicks it or something but instead of going to haggle goes straight to 404 error page ..thankyou for fast repsonse
i just want simple program script that will find a item and click it thats all but for some reason not working dont know what im doing wrong
and the url when it goes to 404 is http://www.neopets.com/null
here is more of the script like i said the refresh works fine and it does try and grab
else if(document.body.innerHTML.indexOf('Meridell Heroes Stamp') != -1){
var item= document.evaluate('//b[. = "Meridell Heroes Stamp"]',document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);if (item.snapshotLength > 0){item = item.snapshotItem(0);selectedlink=item.previousSibling.previousSibling;window.location = selectedlink}return;}
else if(document.body.innerHTML.indexOf('Talinia Stamp') != -1){
var item= document.evaluate('//b[. = "Talinia Stamp"]',document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);if (item.snapshotLength > 0){item = item.snapshotItem(0);selectedlink=item.previousSibling.previousSibling;window.location = selectedlink}return;}
else if(document.body.innerHTML.indexOf('Zombified Heroes Stamp') != -1){
var item= document.evaluate('//b[. = "Zombified Heroes Stamp"]',document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);if (item.snapshotLength > 0){item = item.snapshotItem(0);selectedlink=item.previousSibling.previousSibling;window.location = selectedlink}return;}
else if(document.body.innerHTML.indexOf('Space Faerie Stamp') != -1){
var item= document.evaluate('//b[. = "Space Faerie Stamp"]',document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);if (item.snapshotLength > 0){item = item.snapshotItem(0);selectedlink=item.previousSibling.previousSibling;window.location = selectedlink}return;}
else if(document.body.innerHTML.indexOf('Shumi Telescope Stamp') != -1){
var item= document.evaluate('//b[. = "Shumi Telescope Stamp"]',document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);if (item.snapshotLength > 0){item = item.snapshotItem(0);selectedlink=item.previousSibling.previousSibling;window.location = selectedlink}return;}
else if(document.body.innerHTML.indexOf('Darigan Citadel Stamp') != -1){
var item= document.evaluate('//b[. = "Darigan Citadel Stamp"]',document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);if (item.snapshotLength > 0){item = item.snapshotItem(0);selectedlink=item.previousSibling.previousSibling;window.location = selectedlink}return;}
Edited by johnshoe333, 15 May 2016 - 01:14 PM.