Wanikani forum enhancer: remember where you left off + subscribe to topics!

I often get this.


sumairu said... I often get this.


 That's weird.
Does it stay like that until it updates or until you refresh the popup (by clicking on the crabigator icon) ?


thenn42 said...
sumairu said... I often get this.


 That's weird.
Does it stay like that until it updates or until you refresh the popup (by clicking on the crabigator icon) ?
 I think until it updates because I click on the button and then refresh the page but nothing happens. After 20-30 minutes it works just fine.
sumairu said...
thenn42 said...
sumairu said... I often get this.


 That's weird.
Does it stay like that until it updates or until you refresh the popup (by clicking on the crabigator icon) ?
 I think until it updates because I click on the button and then refresh the page but nothing happens. After 20-30 minutes it works just fine.
I  can't reproduce the bug on my end so I'm not sure where this come from but I think it might be the extension failing to load the topic pages in the background.

So, I modified the update system in version 1.9: it will try three times(with a 5minutes interval) if the extension fails to download the info. And past the three tries, it won't save the empty data you've been seeing.

If that doesn't work (and if you don't mind), the next time you get an empty list like that, could you go to the options page, open the console (tools -> javascript console), open the collapsable object and copy/paste the data? that should give me a few pointers as to what is going on.

Been wanting something like this on WaniKani for a long time. Thanks so much mate!

As a recommendation - not sure if it could be added or not, but I think a notification when someone quotes your post would be pretty handy.

Rota7 said... Been wanting something like this on WaniKani for a long time. Thanks so much mate!
 You're welcome :)

Rota7 said...As a recommendation - not sure if it could be added or not, but I think a notification when someone quotes your post would be pretty handy.
 I'd like to but it can't be done without periodically downloading every single page of every single topic in the forums. Pretty sure Viet would kill me ^^
thenn42 said...
Rota7 said...As a recommendation - not sure if it could be added or not, but I think a notification when someone quotes your post would be pretty handy.
 I'd like to but it can't be done without periodically downloading every single page of every single topic in the forums. Pretty sure Viet would kill me ^^
 That's a shame - Oh well. Just been trying it out, it's really good. 
thenn42 said...
Rota7 said... Been wanting something like this on WaniKani for a long time. Thanks so much mate!
 You're welcome :)

Rota7 said...As a recommendation - not sure if it could be added or not, but I think a notification when someone quotes your post would be pretty handy.
 I'd like to but it can't be done without periodically downloading every single page of every single topic in the forums. Pretty sure Viet would kill me ^^
 But Koichi would revive you. 
thenn42 said...
thenn42 said...
sugoida said... Could I turn off the colors for the links? I'm not a fan. But it's great to be able to subscribe!
 
sugoida said... And could the unsubscribe button be grey like other things, maybe except when you hover?
And could the red line be optional?

(sorry)
ok, no problem, I will work on it :) (but tomorrow, it's getting late here ^^) 
done ! (except for the red text when you hover, yet)
 Looks great, and works great, thanks so much!
thenn42 said...
sumairu said...
thenn42 said...
sumairu said... I often get this.


 That's weird.
Does it stay like that until it updates or until you refresh the popup (by clicking on the crabigator icon) ?
 I think until it updates because I click on the button and then refresh the page but nothing happens. After 20-30 minutes it works just fine.
I  can't reproduce the bug on my end so I'm not sure where this come from but I think it might be the extension failing to load the topic pages in the background.

So, I modified the update system in version 1.9: it will try three times(with a 5minutes interval) if the extension fails to download the info. And past the three tries, it won't save the empty data you've been seeing.

If that doesn't work (and if you don't mind), the next time you get an empty list like that, could you go to the options page, open the console (tools -> javascript console), open the collapsable object and copy/paste the data? that should give me a few pointers as to what is going on.
 Problem is solved :) Thanks.

This is great! Thanks for making it man! =)

thenn42 said... Edit: If anyone is getting a blank page when clicking on a topic from the dashboard, that's because kiko's WK customizer new version 1.8(collapsable nested quotes for chrome users, yay!) also introduce the feature of redirecting to the last read page. If you want to keep using both extensions, I just pushed an update(1.4) that allows to disable the link redirection from my extension(look in the options).

------------

I've made a little chrome extension for Wanikani's forums.

There is still a lot of improvements to be made(especially regarding the looks...) but I think it's ready to be released as a beta.

What it does:

*Keeps track of the posts you have read(seen) in each topics

*add a red line at the beginning of the first unread post

*automatically moves you to the anchor of the first unread post




*Change the title’s color depending on the topic’s status: green: new topic; blue: unread posts; black: read

*change the link to point to the page of the first unread post



*You can subscribe to topics






Important notice:

There isn’t any API calls to access the forum’s information and therefore some parts of the extension (namely checking for new posts for the subscribed list and on the dashboard) require to load some additional pages in the background to get the information they need. So, in a effort to not put too much strain on WK’s server, I’d recommend you keep the update interval in the options relatively high (by default 30min), think of the subscribed list as a way to keep in touch with moderately active topics(the one that are really active are going to be bumped constantly anyway). Also, the checking of unread posts in the recent topic list on the dashboard is optional(and disabled by default) for the same reasons(a problem that isn’t present on the more detailed forum’s lists because the extension use the number of replies info to figure out if there are any unread posts). I don’t think it’s much of a problem because those topics are on WK’s homepage because they are active in the first place.


Download link:  

http://chrome.google.com/webstore/detail/wanikani-forum-enhancer/jckcndpknkjljjalmmlahillkddpaaoh

Feel free to suggest any improvement (especially for the appearance of the subscribed topics list ^^).

 Is the colour thingy new? I am using the WK customiser which I think has your app but I don’t see the coloured threads thingy.
carthegian said...This is great! Thanks for making it man! =)
 You're welcome : )


Juichiro said... Is the colour thingy new? I am using the WK customiser which I think has your app but I don't see the coloured threads thingy.
 No, the colours have always been there.
WK customiser doesn't include my app, it just shares the feature about remembering what page you were at. (remember that if you plan on using both extensions, you need to disable that feature in one of the two extensions).


EDIT:  By the way, if anyone wants new features or improvements, don't hesitate to ask.

Broken in latest Chrome beta

Bump to renew interest.

(And hopefully spur a firefox version…)

I too would appreciate this in Firefox. :slight_smile:

Thank you! Going to install it now. :smiley:

EDIT: Oh, it’s for Chrome only. You don’t happen to have a Firefox version, do you?

Lol, too many people use firefox :stuck_out_tongue:

If someone needs a firefox version and has time: http://lmgtfy.com/?q=how+to+port+chrome+extensions+for+firefox

I have time, but no (real) coding skills. I am not a programmer. Is it more like a converting program?

EDIT: Yep, that’s too code-y for me. Way over my head. I can patiently wait for someone else to do it, or else continue “subscribing” the old way of posting something… and looking far too hard at things. ^_^;