Steam Market : Newly Listed

in Ideas and script requests
Subscribe to Steam Market : Newly Listed 8 posts, 4 voices



'ndrei Scriptwright
FirefoxWindows

Hi,

I think it would be awesome for someone to create a simple script that, once installed, when you refresh the Steam Market page, it automatically takes you to the Newly Listed tab.

If you're looking for good prices, you usually have to be fast. If you have to be fast the whole reload, scroll, click, scroll routine isn't helping.

I'll look into creating this myself. If anyone can do it faster, I'm sure the lot of us will appreciate it.

Thanks,
`ndrei

 
Jefferson Scher Scriptwright
FirefoxWindows

Does this work?

$('tabRecentSellListings').click();
$('tabRecentSellListings').scrollIntoView();

 
'ndrei Scriptwright
FirefoxWindows

Hi Jefferson,

I've upped this:

http://userscripts.org/scripts/review/172957

Didn't know how else to test if it works. Anyway, it doesn't seem to do anything..

`ndrei

 
Jefferson Scher Scriptwright
FirefoxWindows

There seems to be a little timing issue with the tab becoming clickable. Try this code instead:

function trytryagain(){
  $('tabRecentSellListings').click();
  $('tabRecentSellListings').scrollIntoView();
  if ($('tabRecentSellListings').className.indexOf("inactive") > -1) window.setTimeout(trytryagain, 250);
}
trytryagain();

 
'ndrei Scriptwright
FirefoxWindows

Jefferson,

It now works like a charm. The only thing that needed changing was the link. It needed a #. Steam adds that after the first refresh.

Now, if I could take it down.. you could post this yourself since it's yours.

Thank you very much!

Andrei

 
Jefferson Scher Scriptwright
FirefoxWindows

Hi Andrei, please take it and run with it.

 
Kaasboer User
ChromeWindows

Jefferson this works like a charm, thanks a lot!! Do you think it is also possible to automatically tag the agree to buy button and perhaps instabuy it with the space bar? Once again, loads of thanks and love, this is so awesome!!