Home > hacks > How To: Speed Up The MacRumorsLive Ajax Refresh

How To: Speed Up The MacRumorsLive Ajax Refresh

title_macrumors.gifBy default, MacRumorsLive polls the server for updates only every 60 seconds. I know, I know.. <enter sad puppy face here> If you're like me, you probably want that action with a touch more zip to it! And thus…

To poke the server every 10 seconds for a new update, drop this badboy into the location bar on your MacRumorsLive tab and hit enter:

javascript:(function(){var booyah=10,str='ro[0].firstChild.nodeValue',countdown='document.getElementById("ti").innerHTML  = (rr-x) + " seconds till next update..."; setTimeout';rr=booyah;eval('d = '+d.toString().replace(str,booyah));eval('ppd = '+ppd.toString().replace(str,booyah));eval("l = "+l.toString().replace('setTimeout',countdown));x=5;})();

btw- this doesn't work in IE. Deal with it.

Update (11:41am): It now has a countdown till next update. countdown.PNG

Paul Irish hacks

  1. | #1

    That you're working on this 1 hr and 45 minutes before the keynote starts either shows you're very excited or very bored.

  2. | #2

    oh yeaaaaaaaaaaaa

  1. No trackbacks yet.

For code blocks, use <pre lang="javascript" escaped="true">. css and html4strict are also accepted.