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
- Preloading of next page when you scroll down;
- When on personal home page, only preload next pages until you reach the last read tweet
(after which automatic loading stops); - Add icons that link to Quotably.com conversation for each tweet
(you can turn this off in "Greasemonkey > User script commands" menu); - Sort friends in the sidebar by screen name;
- 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.
- 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.
- (Another) update May 3, 2008: Fixed a quirk with last read tweet on home. Updated the update-notification system. Tweaked CSS.
- 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.
- 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.
- Update April 2, 2008: fixed a bug when browsing single-user timelines and another bug with pagination reported by Jurjan-Paul (thanks!).
- Update March 28, 2008: simplified autopaging some more, which resolved an edge case.
- 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.
|
|
Not bad, actually very good. |
|
|
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. |
|
|
Can this be adapted to have Digg.com scroll endlessly? or does such a script already exist? |
|
|
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. |
|
|
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 ;-) |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
Now updated for new Twitter.com UI. Some quirks resolved, some CSS tweaked. Enjoy! |
|
|
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
And was able to pare down from a less functional Quotably script You have made my twitterlife so happy! Thanks! :) |
|
|
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+)$/ |
|
|
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.
