AutoHaggler

By Wil_01 Last update Apr 7, 2009 — Installed 2,975 times.

Suggestion

in
Subscribe to Suggestion 3 posts, 3 voices



nungryscpro Scriptwright

Instead of having foo() set to a specific location you should just have the page submit the correct form

if(document.body.innerHTML.indexOf('has been added to your inventory') != -1){
  window.setTimeout('document.forms[1].submit()', wil);
}
if(document.body.innerHTML.indexOf('SOLD OUT!') != -1){
  document.forms[1].submit();
}

 
Wil_01 Script's Author

yah, there's a problem where if you click go back to shop greasemonkey doesn't load the second time. so i set it to reload the page which insures greasemonkey loads. couldn't figure out how else to get around it.

 
StarKing User

Can TNT detect this easily?

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel