Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Endless Tweets

Loads older tweets endlessly when you're scrolling on a Twitter timeline. Bonus feature: Quotably.com integration.

Features

  1. Preloading of next page when you scroll down;
  2. When on personal home page, only preload next pages until you reach the last read tweet
    (after which automatic loading stops);
  3. Add icons that link to Quotably.com conversation for each tweet
    (you can turn this off in "Greasemonkey > User script commands" menu);
  4. Sort friends in the sidebar by screen name;
  5. A notifier that informs you of updates to this script (checks every 48 hours).

Explanation

When I'm catching up I like to read multiple pages of tweets. That leads to a lot of clicks on the "Older" link that takes me to the next page.

What if the next page was preloaded automatically when I approach the bottom of the document? That would be sweet, right?

This script does exactly that. It also creates a new icon that links to conversation for each tweet.


  1. Update May 11, 2008: Hopefully fixed crashing of Firefox when preloading next page. Fixed the case when you reach the end of one's updates. Added options to turn off Quotably integration and turn on debug mode (sends notices to JavaScript console). Lots of tweaks to preloading logic and styles.
  2. (Another) update May 3, 2008: Fixed a quirk with last read tweet on home. Updated the update-notification system. Tweaked CSS.
  3. Update May 3, 2008: Twitter.com HTML has changed, updating Quotably integration. Fixed that a single tweet could appear twice on autopaging. Quotably icon now shows on the most recent tweet, too.
  4. Update April 14, 2008: fixed the Quotably icon for Firefox 2. Added that friend list in sidebar is sorted by screen name. Added automatic check for user script updates.
  5. Update April 2, 2008: fixed a bug when browsing single-user timelines and another bug with pagination reported by Jurjan-Paul (thanks!).
  6. Update March 28, 2008: simplified autopaging some more, which resolved an edge case.
  7. Update March 27, 2008: resolved a bug when preloading pages where only each second tweet was shown. Added that last read tweet is remembered when on personal home page.



Jun 30, 2008
Javad697 User

Not bad, actually very good.

 
Jun 28, 2008
Mislav Marohnić Script's author

I won't adopt this script for Digg because it's focuses on Twitter usability, but there are plenty of other generic-pagination scripts; you can search here and see if one of them supports Digg.

 
Jun 28, 2008
Uzd4ce User

Can this be adapted to have Digg.com scroll endlessly? or does such a script already exist?

 
May 17, 2008
darrinholst User

If anyone gets a login form instead of the next page of tweets, make sure you have 3rd party cookies enabled. It stumped me for awhile.

 
May 15, 2008
matstace User

Sorry for the delay in replying - it seems it was a problem with my pc/webcache/something totally random picking up a cached old version of the script. Installed on my laptop when I was at a different location, and it all works fine - feel free to call me a muppet ;-)

 
May 12, 2008
Mislav Marohnić Script's author

Mat, that bug has been long-fixed by Jurjan-Paul. Are you saying it happens to you? Go to "Greasemonkey > User script commands" in Firefox, turn on debug mode and open "JavaScript/Error console" on "notices" view. Then scroll on Twitter and you will see helpful debug info.

 
May 11, 2008
matstace User

It certainly seems to have fixed the firefox hanging problem (FF2 in XP SP3 at least, will check in linux later on when I reboot), but it still has the bug where instead of going from page 19 to 20 it goes from 19 to 110.

 
May 11, 2008
Mislav Marohnić Script's author

Hopefully I have fixed strange freezing/crashing in Firefox when the next page is about to preload. Please test the script and report to me if there are any more troubles.

 
May 3, 2008
Mislav Marohnić Script's author

Now updated for new Twitter.com UI. Some quirks resolved, some CSS tweaked. Enjoy!

 
Apr 24, 2008
funDiva Christy User

oh loveliness! The friend sorter is worth it on it's own (why twitter does not allow logical sorting is beyond me)

I paired this with Twitter - Timeline Filter http://userscripts.org/scripts/show/20614
just so if I have to go back and search, now I can.

And was able to pare down from a less functional Quotably script

You have made my twitterlife so happy! Thanks! :)

 
Apr 1, 2008
Jurjan-Paul User

I like your script! The regexp at the end currently contains a small bug though that makes the page number turn from 19 to 110 (and 119 to 1110 etc.). The solution is to make the first group non-greedy: /^(.+?)(\d+)$/ i.s.o. /^(.+)(\d+)$/

 
Mar 27, 2008
engtech Scriptwright

Here's my take on Quotably integration: (Quotably Relinker).

1 line of code that works with any autopagers, etc.

You could comment on this script if you were logged in.