Endless Tweets

By Mislav Marohnić Last update Oct 30, 2009 — Installed 216,968 times.

Not working?

in
Subscribe to Not working? 41 posts, 12 voices



davidseguin Scriptwright

Maybe twitter changed its markup? The script isn't working for me today.

 
Mislav Marohnić Script's Author

I noticed it today. Perhaps they changed some ID's or class names, I'll look into it ASAP.

 
Mislav Marohnić Script's Author

Oh, dude -- they finally got rid of table layout!

The downside is they broke practically everything. This will take a lot of effort to fix. Follow this forum (or me on Twitter) for updates

 
cfurrow Scriptwright

I've been looking at this as well--seeing if I could make a quick-fix to the script for ya Mislav. So far I've only been moderately successful :) I'm still working on it thought. Love the script, btw.

 
cfurrow Scriptwright

I've got it working, for the most part. Haven't tested polling, etc, and the code is a mess because I tried to keep as much of the same variable names as possible and not screw with the codebase too much. Basically, I edited it enough to get it working, then posted it. I hope that's ok: http://userscripts.org/scripts/show/41763

 
Mislav Marohnić Script's Author

Hey man, nice going. But you should have kept track of my own development, because I mostly made the same fixes as you: http://github.com/mislav/user-scripts/commits/m...

Still haven't released because I got a weird bug in Firefox

 
cfurrow Scriptwright

Well, I was working on it as soon as I realized my own scripts were broken, so I jumped on trying to fix your script. I liked yours so much, I didn't want to go a day or more without it (and I figured there were others in the same boat), so I just fixed it, and thought I'd post it while you were fixing your own--that's all. Not trying to step on anyone's toes here :)

 
davidseguin Scriptwright

Twitter had a table layout? I never looked.

Just another vote, Mislav, for this script. I use it every day. Nice work.

I the meantime I'm using cfurrow's version, works fine for me.

 
Mislav Marohnić Script's Author

Fixed! Please test and report if you have any Firefox issues on the home page.

In the future, if you hack on this script, clone it from GitHub repository. That way I can easily import other people's fixes.

 
Aleksandr Pa... Scriptwright

when combined with fluid, it says "You have reached the last read tweet." on the home page, but works perfectly on all subsequent pages. Problem just started 15 minutes ago. let me know if you need any other information.
EDIT: works just fine in firefox. (safari3.something installed, latest, except 4)
EDIT: nope, now firefox is broken too O.o

 
Mislav Marohnić Script's Author

Hey Alex,

This is expected behavior. On your home page Endless Tweets remembers the last read update (the most recent tweet that you've seen) and stops autopagerization. You can continue endless scrolling if you click on the next page button.

 
Aleksandr Pa... Scriptwright

oh, my bad, i did not realize this was a feature. any hints on how to turn it off, or should i just crawl through the code and take a look myself? thanks!
EDIT: well, i just commented out the part that does that check on the home page. that solved it. if there's a more elegant solution, please let me know. cheers!

 
bdawg923 User

I just saw on Twitter I have a large MORE button at the bottom (that isn't from your script, I think) and your More button is missing. The tweets don't autoload anymore either. I found an article about it here: http://blog.webdistortion.com/2009/02/09/twitte...

Could you update your script to compensate for this? I like your script more than what Twitter offers because with your script I don't have to click and also it keeps track of the tweets I read. Great job on the script by the way. Thanks!

Edit: Just noticed your script works again after refreshing the page.

Edit 2: Visited twitter again and now it doesn't work again.

Edit 3: Thanks for fixing it quickly.

 
bdawg923 User

Twitter updated the site again and the script doesn't work. Could you please update it?

 
typo User

I've noticed the same thing. They made some changes including replies being replaced with @username and are referred to as "mentions" instead. Who knows what other changes were made but it seems to have upset the script.

 
Mislav Marohnić Script's Author

Everything works for me. Can you provide more info -- what functionality breaks, on which pages? Could you open up a JavaScript console and paste any errors? Thanks

 
Bill Mill Scriptwright

It doesn't work for me either; neither the paging nor the already read tweet highlighting work. I don't notice any other features, so I don't know what else works.

In the firefox error console, I see a bunch of warnings and one error; since the warnings are in the twitter css, I won't transcribe them here (wtf doesn't the error console have copy/paste?) but I have one error from your script:

Error: control is null
Source File: file::///my/profile/endless_tweets/endless_tweets.user.js Line 194

 
Mislav Marohnić Script's Author

Thanks, that helped a lot. I released a fix (hopefully) -- install 0.9.5 and tell me if it fixes stuff.

 
bdawg923 User

0.9.5 fixes the issue. Thanks!

 
typo User

Wow, quick response. Just to confirm that 0.9.5 fixes the issue for me too. Great script and great support. Many thanks.

 
spamgirl User

I just installed this today and while my other greasemonkey scripts work, this doesn't appear to work at all. It's not marking the last post I read, and as I approach the More button... nothing happens.

 
ckolderup Scriptwright

Works fine for me. Do you see "Powered by Endless Tweets" on the page? If so, maybe it's not loading the script for some reason. Does it show up when you right-click on the greasemonkey icon in the status bar and is it checked?

 
spamgirl User

It's enabled in Greasemonkey and it's checked when I'm on Twitter. I don't see "powered by" on the Twitter page.

 
Mislav Marohnić Script's Author

Maybe you're one of the users that Twitter chose to roll out the layout updates to. Do you have a twitter search box on your homepage?

In any case, in Firefox you can open up the Error Console (under Tools), filter out the errors and paste me the last ones (if they originate from this script). It will help a lot

 
spamgirl User

No search box... I even turned off all my other greasemonkey scripts incase something was interfering, but still nothing. The only thing I have installed that might interfere is TwitterFox, but I highly doubt that.

I cleared the console and refreshed Twitter (there were a whole bunch of download helper errors before this):

Error:
Source File: file:///C:/Documents%20and%20Settings/Spamgirl/Application%20Data/Mozilla/Firefox/Profiles/12k7mq6p.default/gm_scripts/endless_tweets/endless_tweets.user.js
Line: 0

Error: uncaught exception: [Exception... "Component returned failure code: 0x804b000a [nsIDOMNSHTMLAnchorElement.hostname]" nsresult: "0x804b000a (<unknown>)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Spamgirl/Application%20Data/Mozilla/Firefox/Profiles/12k7mq6p.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js :: main :: line 343" data: no]</unknown>