• Hey Guest. Check out your NeoGAF Wrapped 2025 results here!

Live Thread - A browser extension

Status
Not open for further replies.
published 2.0.3

mostly just bug fixes.

spoilers and images can now be clicked and they'll keep their state

the warning is now disabled by default. I think I must be the only person who wanted it. If you want it back open the web console and paste this in.

Code:
localStorage.LiveThread_CONFIRM_EXIT = true

I'll have a proper menu option you can click like the update speed in the next update.

any problems, suggestions or complaints just reply or pm me.
 
2 questions for you

1-Did I imagine things or I saw an edit show up during one of the refresh? I know you talked about maybe adding that at some point. Maybe I'm just crazy and I didn't see correctly lol.

2-Is the countdown timer going up everytime there's no new message in the thread? So for example it starts at 1min, if there's no message it goes to 2min or something like that? It's just that I'm noticing a lot more higher countdown (over 1min) in the new version compared to the old version where it would happen only if the addon couldn't do the refresh after 1min.... Wait, is that the bug in the old version you were talking about earlier?
 
published 2.0.3

mostly just bug fixes.

spoilers and images can now be clicked and they'll keep their state

the warning is now disabled by default. I think I must be the only person who wanted it. If you want it back open the web console and paste this in.

Code:
localStorage.LiveThread_CONFIRM_EXIT = true

I'll have a proper menu option you can click like the update speed in the next update.

any problems, suggestions or complaints just reply or pm me.

The spinning icon looks to be off center slightly. Looks wobbly.
 
2 questions for you

1-Did I imagine things or I saw an edit show up during one of the refresh? I know you talked about maybe adding that at some point. Maybe I'm just crazy and I didn't see correctly lol.

yes, that's new. It checks for edits and updates the post if something is different.

It only updates the last page of posts (50/100 depending on your gaf settings)

2-Is the countdown timer going up everytime there's no new message in the thread? So for example it starts at 1min, if there's no message it goes to 2min or something like that? It's just that I'm noticing a lot more higher countdown (over 1min) in the new version compared to the old version where it would happen only if the addon couldn't do the refresh after 1min.... Wait, is that the bug in the old version you were talking about earlier?

yes, that's how it works. If there's nothing new it will count as an error and that count will be multiplied by the interval.

at the normal speed it goes 60 (*0), 60 (*1), 120 (*2), 180 (*3) etc and then stop when it reaches a limit (8 by default)

If a new post is added it will go back to 0 and start again. It will also go back to 0 if you manually press the update button because then you haven't just left it running and walked away.

The spinning icon looks to be off center slightly. Looks wobbly.

weird. I've not noticed this myself but I'll look into it. It's probably something to do with the way Chrome is redrawing css animations.
 
yes, that's new. It checks for edits and updates the post if something is different.

It only updates the last page of posts (50/100 depending on your gaf settings)



yes, that's how it works. If there's nothing new it was count as an error and that count will be multiplied by the interval.

at the normal speed it goes 60 (*0), 60 (*1), 120 (*2), 180 (*3) etc and then stop when it reaches a limit (8 by default)

If a new post is added it will go back to 0 and start again. It will also go back to 0 if you manually press the update button because then you haven't just left it running and walked away.



weird. I've not noticed this myself but I'll look into it. It's probably something to do with the way Chrome is redrawing css animations.

I'm curious, does this actually reduce server load? i.e., since it's only pulling the text/relevant posts and not reloading the ads/scripts/forum ui/pics/avatars, it's pulling less information than on a full refresh?
 
yes, that's new. It checks for edits and updates the post if something is different.

It only updates the last page of posts (50/100 depending on your gaf settings)



yes, that's how it works. If there's nothing new it was count as an error and that count will be multiplied by the interval.

at the normal speed it goes 60 (*0), 60 (*1), 120 (*2), 180 (*3) etc and then stop when it reaches a limit (8 by default)

If a new post is added it will go back to 0 and start again. It will also go back to 0 if you manually press the update button because then you haven't just left it running and walked away.



weird. I've not noticed this myself but I'll look into it. It's probably something to do with the way Chrome is redrawing css animations.

Awesome, thanks for the clarification!

Great work!
 
weird. I've not noticed this myself but I'll look into it. It's probably something to do with the way Chrome is redrawing css animations.

Oops, I just realized I have neogaf set to 110% zoom cause of the new fonts being used. That's what making look wobbly, looks fine at 100% zoom. Sorry.
 
I'm curious, does this actually reduce server load? i.e., since it's only pulling the text/relevant posts and not reloading the ads/scripts/forum ui/pics/avatars, it's pulling less information than on a full refresh?

I doubt it has much effect to be honest. It might reduce it a little in that it's not loading externals resources (js, css, images etc) but most of that stuff is cached so even if you did load it over and over it wouldn't matter. I guess it helps in that it stops people just F5F5F5F5 until something works.

When I originally made this it was for the World Cup thread that killed gaf. The idea was that instead of people just sitting there hammering reload they could leave it running in a tab and get news posts if and when the site responded.

idk, some people like browsing gaf this way now so I'll keep it going. I think it's still useful.

Oops, I just realized I have neogaf set to 110% zoom cause of the new fonts being used. That's what making look wobbly, looks fine at 100% zoom. Sorry.

no problem. It should look the same at any size but css animations are still new so they're probably still a little buggy.
 
I doubt it has much effect to be honest. It might reduce it a little in that it's not loading externals resources (js, css, images etc) but most of that stuff is cached so even if you did load it over and over it wouldn't matter. I guess it helps in that it stops people just F5F5F5F5 until something works.

When I originally made this it was for the World Cup thread that killed gaf. The idea was that instead of people just sitting there hammering reload they could leave it running in a tab and get news posts if and when the site responded.

idk, some people like browsing gaf this way now so I'll keep it going. I think it's still useful.
I certainly like it. Thanks for your work!
 
I've never used this extension before, but I can't imagine NeoGAF without it now that I've used it. Wow. Thanks for your effort D4! This is amazing.

edit: I was using it in the GAF-Hop thread and after a couple times of reloading with no new posts it automatically shuts off (happened a couple times, the countdown thing just disappears and the icon stops spinning). Is this supposed to happen?
 
sorry if this is a stupid question. is there a way for me to add the new chrome live thread extension to safari? is there code that i put into a safari extension? or is a safari-specific extension update coming still?

great work btw! this extension saves my life at work. it's great to leave a few threads open, do some work, and come back to the updates already there. it was amazing how much i missed it when it was broken for a few days.
 
Firefox

http://userscripts.org/scripts/show/78817

I can't spend much time to this right now I've updated the user script version to match the current Chrome version (2.0.3).

I've only tested it quickly on Firefox 22. I can't guarantee it will work on older version.

There's also a bookmarket version here if you want that instead. No greasemonkey required.

I've never used this extension before, but I can't imagine NeoGAF without it now that I've used it. Wow. Thanks for your effort D4! This is amazing.

edit: I was using it in the GAF-Hop thread and after a couple times of reloading with no new posts it automatically shuts off (happened a couple times, the countdown thing just disappears and the icon stops spinning). Is this supposed to happen?

yeah, that's right. I explained the reason for this in another post

sorry if this is a stupid question. is there a way for me to add the new chrome live thread extension to safari? is there code that i put into a safari extension? or is a safari-specific extension update coming still?

idk about Safari right now. The last time I did it I had to mess around installing security certificates and stuff. I don't have the time right now to look into it.

If anyone else wants to do it then you have my permission.

---

GitHub source
 
Chrome works. Firefox works. Just tested both.
How do I set up Opera again? Or isn't there one yet?

Cheers for this D4Danger.
 
this is working in safari for me (at least, from what i can tell). i copied the userscript from the firefox userscript page (linked by d4danger) and just pasted it into ninjakit (safari extension, like greasemonkey).

the only thing that is different is the spinning part is just a square for some reason ha.

5h2xhXM.png


thank you so much, d4danger! love this extension.
 
Thanks for the extension!

I have one issue: on Firefox, the spoilers don't show when clicked for added posts. Is it just me? I'm using Pro Dark (the userstyle), perhaps it has something to do with that.
 
this is working in safari for me (at least, from what i can tell). i copied the userscript from the firefox userscript page (linked by d4danger) and just pasted it into ninjakit (safari extension, like greasemonkey).

the only thing that is different is the spinning part is just a square for some reason ha.

5h2xhXM.png


thank you so much, d4danger! love this extension.

Seems to work for me too!
Thanks man!

Also, it didn't seem to work under Opera, but I'll look into it a bit more.
Nice work!
 
this is working in safari for me (at least, from what i can tell). i copied the userscript from the firefox userscript page (linked by d4danger) and just pasted it into ninjakit (safari extension, like greasemonkey).

the only thing that is different is the spinning part is just a square for some reason ha.

5h2xhXM.png


thank you so much, d4danger! love this extension.
I thought the square spun on purpose.
 
2.03 usersstyle doesn't work for me under Firefox 22.

The icons for refreshing the thread work, but when I click on them nothing happens. I've disabled all the addons and other scripts just in case some might be interfering, but no luck.

Edit, the bookmarklet works, though.
 
It works nicely .

just one thing .wouldn't it be possible to add the same functionality to the Thread sections (Gaming .off-topic etc..) to automatically put threads back to the top if someone posts in one without F5 ing ?
 
I think the best thing in the world would be copying the div#toolbar from the top to under the footer. I'm perpetually glued to the bottom of the page while Live Thread is running and having the cp/sub/search/pm links down there would be super handy.
 
Hi,

Thanks for this great script, I made it work with Maxthon 3, but I added a line that I think can be useful.

When you click the link to delete the previous page and scroll up, the address bar did not change so if you refresh the page, you go back to the first page where you enabled the live plugin.

So by just adding this line before the "window.scrollTo(0, 0);" line, the address bar changes with the current page :

Code:
window.history.pushState({state:1,rand:Math.random()}, null, url);

I don't know if it will work with all supported browsers, but it works with Maxthon 3 (Webkit), thus at least with Chrome as well.
 
A bit of a dual-extension issue, so I'll post this in the other's thread too, but I'm having a conflict between NeoGAF++'s super-ignore and Live Thread. Whenever it loads/updates, all of the "super-ignored" posts appear at the bottom of the thread, rather than the next post. Any suggestions?
 
The userscript was working up until a few days ago on Firefox (says 'No more posts' even when there are more), so I'm wondering if it has stopped working for me because of GAF's recent traffic or maybe some other conflict I'm missing.
 
sorry to bump this...
with the WebM revolution happening, will this be updated to prevent the breaking of the embedding upon refresh? :X
 
I wonder if there would be a way for, like, the Live Thread refresh button to emit a special event when it updates. Then other extensions could listen for it and act accordingly after the new posts have been appended.

Just some food for thought.
 
I wonder if there would be a way for, like, the Live Thread refresh button to emit a special event when it updates. Then other extensions could listen for it and act accordingly after the new posts have been appended.

Just some food for thought.

and it'll be nice if it can actually refresh to a new page... once it hits the page limit or something
 
Sorry for bumping the thread, but I've been unable to download Live Thread on computers running Firefox lately because userscripts.org has been down for a nice long while now. Is there an alternative for Firefox users?
 
Sorry for bumping the thread, but I've been unable to download Live Thread on computers running Firefox lately because userscripts.org has been down for a nice long while now. Is there an alternative for Firefox users?

rogue_pigeon's link works but I've also put a copy in my dropbox and I'll update the op.

download here
 
Sorry for bumping as well, but did the extension stop working for anyone else in Chrome? Was working perfectly up until tonight, but it just stopped. I hit update, it hangs on "Wait," then just starts the timer again. If I manually refresh there are definitely new posts. Tried restarting, reinstall the extension, etc. Is it just me?
 
Yeah, it's stopped working for me when it's trying to collect posts into a new page.

edit: oh, actually, it just worked. maybe it just randomly stops? i'm not sure now, sorry.
 
Hasn't been working for a while now, at least for me. Both on Opera and Firefox it dutifully counts down, then throws a response error. Made the World Cup thread with all its gargantuan gifs painful to keep up with even with aggressive caching.
 
Status
Not open for further replies.
Top Bottom