Forum Settings
Forums

Some user scripts (reply/quote tracker, top list highlighter, etc)

New
Pages (3) « 1 [2] 3 »
Mar 26, 2015 1:09 PM

Offline
Nov 2010
4482

It doesn't track Forum Games answers. I remember it did before breaking down.

Quantization said:
You using Chrome or no?
Firefox.
Mar 26, 2015 1:54 PM

Offline
Sep 2011
9882
I'm having the name problem too. I tried asking for help from some friends but they only managed to fix one problem, which is the problem where sometimes it'll take you to a page that says: 0.3, -1, 0.5, etc. This is due to the regular interval posts being set to 19 and 20.

https://www.dropbox.com/s/lojcqqf5jvn9qiv/449648.user.js?dl=0

I've changed it so that doesn't happen anymore and mess up. It will go to the reply actually now and not fuck up.

Sadly, I still can't fix the missing name problem.
Mar 27, 2015 2:53 AM
N/A

Offline
Jan 2014
318
I'll give $40 to whoever updates and fixes this script. Both for Chrome and Firefox. (serious face)

edit: Ya, ty Kinkara.
QuantizationMar 27, 2015 8:01 AM
Mar 27, 2015 5:52 AM

Offline
Nov 2010
4482
Quantization said:
I'll give 40$ to whoever updates and fixes this script. Both for Chrome and Firefox. (serious face)
you mean '$40' haha I'd love to have the money, unfortunately, I can't fix it.

Tyrel said:
I'm having the name problem too. I tried asking for help from some friends but they only managed to fix one problem, which is the problem where sometimes it'll take you to a page that says: 0.3, -1, 0.5, etc. This is due to the regular interval posts being set to 19 and 20.

https://www.dropbox.com/s/lojcqqf5jvn9qiv/449648.user.js?dl=0

I've changed it so that doesn't happen anymore and mess up. It will go to the reply actually now and not fuck up.

Sadly, I still can't fix the missing name problem.
Thanks, so how do I make it work?
Mar 27, 2015 1:31 PM

Offline
Sep 2011
9882
Kinkara said:
Tyrel said:
I'm having the name problem too. I tried asking for help from some friends but they only managed to fix one problem, which is the problem where sometimes it'll take you to a page that says: 0.3, -1, 0.5, etc. This is due to the regular interval posts being set to 19 and 20.

https://www.dropbox.com/s/lojcqqf5jvn9qiv/449648.user.js?dl=0

I've changed it so that doesn't happen anymore and mess up. It will go to the reply actually now and not fuck up.

Sadly, I still can't fix the missing name problem.
Thanks, so how do I make it work?
What do you mean? Download the JS and then drag and drop onto browser and install it. It should fix the 0.3 and - page #'s but it will not fix the name 'cause Idk how.
Mar 27, 2015 1:40 PM

Offline
May 2013
1289
Is there any script like the top anime list highlighter for manga?
Mar 27, 2015 3:04 PM

Offline
Nov 2010
4482
Eucli said:
Is there any script like the top anime list highlighter for manga?
I can't find any. Ask Serhiyko.
Apr 12, 2015 12:10 PM

Offline
Feb 2013
17582

am i the only one with this problem again? :<
Apr 13, 2015 2:35 AM

Offline
Mar 2015
1059
This is pretty nice.
My name is Terrence always is Terrence and will always be Terrence
Current Accounts: ThePinhead3333,
Apr 13, 2015 12:05 PM

Offline
Jan 2013
14361
It's been three days it stopped working I believe
Apr 16, 2015 1:53 PM

Offline
Nov 2010
4482
It stoped working for me too.

@romagia did you send another PM to sedmelluq? I don't want to spam his PM box too much.
Apr 17, 2015 2:50 AM

Offline
Feb 2013
17582
n-no; he didn't answer to the first either
and besides, i believe he only came online like once (on 28 march) after i messaged him
Apr 17, 2015 6:36 AM

Offline
Nov 2010
4482
romagia said:
n-no; he didn't answer to the first either
and besides, i believe he only came online like once (on 28 march) after i messaged him
So he's practically dead atm :(
Apr 19, 2015 12:53 AM

Offline
Jul 2014
2502
still not working for anybody? cuz mine has been acting up for weeks now.
Apr 20, 2015 2:36 PM

Offline
Nov 2010
4482
chuuzenjis said:
still not working for anybody? cuz mine has been acting up for weeks now.
Mine just started notifying me of one week old quotes. But it didn't last long, it stopped after a few were listed.
May 7, 2015 2:11 PM

Offline
Sep 2011
9882
Try this script—to everyone that used the previous version: https://www.dropbox.com/s/lojcqqf5jvn9qiv/449648.user.js?dl=0

I got the script updated by http://myanimelist.net/profile/svaax - All credit goes to him

Should work fine with names now. (Works for me)

Proof: http://puu.sh/hFtib.png

How to use since it's not on script sites:

Click the download button -> It'll save to your desktop -> Open up your Browser -> Drag and drop the file over your browser -> A window will appear and tell you to accept and install -> Success.

Edit:

romagia said:
it stopped working again :<


It works after clearing the events for me. Apparently there's a max storage of 5MB and the strings saved with JS halve that to 2.5mb, so... You'll need to clear your "Currently recorded events" quite often. Mine stopped at around 20ish mark, so I'd do it before then.


Looks like it's completely broken. Not sure what to do now. At this point in time, I think it's pointless to fix it unless the original creator who made it can. Not sure why it's not working anymore.
TyrelMay 19, 2015 9:23 PM
May 9, 2015 11:58 AM

Offline
Feb 2013
17582
10/10 breddy gud
May 12, 2015 4:50 AM

Offline
Feb 2013
17582
it stopped working again :<
May 12, 2015 4:51 AM
N/A

Offline
Jan 2014
318
Never worked for me. Chrome. :c
May 12, 2015 12:31 PM

Offline
Sep 2010
703
"This webpage is not available

ERR_CONNECTION_TIMED_OUT"
May 15, 2015 10:02 AM

Offline
Jan 2013
14361
Holas and ciaos, is it down again?
May 24, 2015 12:09 AM
Offline
Sep 2014
11
I haven't really looked at the reply tracker yet, but I do have a quick fix for MAL forum stalker (I am assuming it wasn't warking for any one else).

Change line 237 from
x$.each(x$(".forum_border_around tr:nth-of-type(2) .forum_boardrow2 strong"), function (index, element) {

to
x$.each(x$(".forum_border_around .forum_boardrow2 strong"), function (index, element) {


I suspect the disappearance of the user name in the reply tracker has similar causes.
May 24, 2015 2:06 AM

Offline
Sep 2011
9882
newtonseple said:
I haven't really looked at the reply tracker yet, but I do have a quick fix for MAL forum stalker (I am assuming it wasn't warking for any one else).

Change line 237 from
x$.each(x$(".forum_border_around tr:nth-of-type(2) .forum_boardrow2 strong"), function (index, element) {

to
x$.each(x$(".forum_border_around .forum_boardrow2 strong"), function (index, element) {


I suspect the disappearance of the user name in the reply tracker has similar causes.
The new script I had fixed that; however, for some reason the posts no longer really appear when you quote somebody. Script pretty much ded.
May 24, 2015 2:57 AM
Offline
Sep 2014
11
Tyrel said:
The new script I had fixed that; however, for some reason the posts no longer really appear when you quote somebody. Script pretty much ded.

I see. I have been debugging the quote/reply tracker somewhat now, and it seems to parse all the post in the last page of the tracked threads, but it's not firing the events. Is there a subforum I can use for further testing, or a way to not bump a thread every time I post to test?
May 24, 2015 6:58 AM
Offline
May 2015
8
newtonseple said:

I see. I have been debugging the quote/reply tracker somewhat now, and it seems to parse all the post in the last page of the tracked threads, but it's not firing the events. Is there a subforum I can use for further testing, or a way to not bump a thread every time I post to test?

In that case, let's see if this works.
And, again, sorry for bumping the thread. Would sage if i knew how.
May 24, 2015 7:17 AM
Offline
Sep 2014
11
All right, it seems to be working as is to me:

Using tampermonkey 3.10.109 on chrome 43.0.2357.65 with the script from svaax.

The exact script I used was modified to print more stuff to the java console and update a little bit faster, so it is easier to debug stuff with: https://www.dropbox.com/s/lklw2i89jpdbvl4/mal_tracker_debug.user.js?dl=0

If it still isn't working for some, try to run that script and take a look at the java console output.
May 25, 2015 6:39 PM

Offline
Feb 2013
17582
newtonseple said:
Tyrel said:
The new script I had fixed that; however, for some reason the posts no longer really appear when you quote somebody. Script pretty much ded.

I see. I have been debugging the quote/reply tracker somewhat now, and it seems to parse all the post in the last page of the tracked threads, but it's not firing the events. Is there a subforum I can use for further testing, or a way to not bump a thread every time I post to test?
you can create a new club; every club automatically creates a subforum
http://myanimelist.net/clubs.php?action=create

and btw, my addon works for a couple of replies every time i reset it... it might have something to do with moved or deleted threads glitching it?
May 26, 2015 2:08 AM
N/A

Offline
Jan 2014
318
newtonseple said:
All right, it seems to be working as is to me:

Using tampermonkey 3.10.109 on chrome 43.0.2357.65 with the script from svaax.

The exact script I used was modified to print more stuff to the java console and update a little bit faster, so it is easier to debug stuff with: https://www.dropbox.com/s/lklw2i89jpdbvl4/mal_tracker_debug.user.js?dl=0

If it still isn't working for some, try to run that script and take a look at the java console output.



How do you avoid Chrome disabling the script upon launch?
May 27, 2015 8:09 AM
Offline
Sep 2014
11
romagia said:

you can create a new club; every club automatically creates a subforum
http://myanimelist.net/clubs.php?action=create

and btw, my addon works for a couple of replies every time i reset it... it might have something to do with moved or deleted threads glitching it?

Very possible. The code looks like it has checks for that sort of thing, but they might be outdated, somehow.

I assume that "not working" simply entails new replies not showing up? Do the threads you post in still show up in "Topics"? The code runs every few minutes, and checks the tracked threads, so as I see it, 3 things could be the case:

1. The script never adds the thread in the first place, so it never shows up in "Topics". In this case, the java console should say one of these, right after posting: "Aborting wait, too many tries.", "Failed to query last page.", "Your message was not found on the last page." or "Found your post". Which one of these messages appears is important.

2. The script has erroneously stopped tracking the thread at some point.
In this case, the thread is gone from "Topics", and the java console has, at some point, printed why, as there are log()-statements before every case of the code removing a thread.

3. The script is tracking the post, but fails to analyse the last page of the tread correctly, and concludes that there are no new posts. This should also show up in the console.

Also I noticed that the script deletes threads inactive for 2 days. I changed that to 10 for debugging, but it seems like something there should be a setting for.

Quantization said:
How do you avoid Chrome disabling the script upon launch?

I use Tampermonkey, and haven't had trouble with Chrome disabling scripts loaded through it.
May 27, 2015 10:29 AM

Offline
Feb 2013
17582
it still adds threads, but no longer tracks posts after a thread it's following has been deleted
here is a pic that might explain the situation
http://i.imgur.com/TBdvCUb.png

after the thread "Best age to wholeheartedly enjoy the ecchi genre" has been deleted, the script no longer follows any thread


edit: i think it has something to do with the new 404 thread not found page
before that, dead threads would just redirect you to the main forum page
romagiaMay 28, 2015 3:44 AM
May 28, 2015 10:00 AM
Offline
Sep 2014
11
I see. That would make sense. The script did not untrack the deleted thread, so if it keeps getting an error before it finds out it should untrack the thread, I think the checking would get "stuck", so to speak. Thanks for the info, I'll try to see if I can find out more.
May 28, 2015 11:40 AM
Offline
Sep 2014
11
I think I've managed to unstuck it!

It's just as you said, romagia. Apparently, that 404 thing stops AJAX from parsing the page at all, and makes it return a fail signal. Nice catch! In the past, that has usually meant connection problems, so the script just tries again next minute. Also it never checks any other threads, because it goes for the thread succesfully updated longest ago.

Anyway, here is a (probably) fixed version. Feel free to check it out:
https://www.dropbox.com/s/9mb4n5g9v14j05l/mal_tracker2.user.js?dl=0

The changed code is the fail handler at 315. If the connection is actually lost, the error code won't be 404, so that should be fine.
May 29, 2015 7:49 AM

Offline
Feb 2013
17582
i tested it and it works <3
thanks a lot
love ya
May 31, 2015 8:01 PM

Offline
Sep 2011
9882
newtonseple said:
I think I've managed to unstuck it!

It's just as you said, romagia. Apparently, that 404 thing stops AJAX from parsing the page at all, and makes it return a fail signal. Nice catch! In the past, that has usually meant connection problems, so the script just tries again next minute. Also it never checks any other threads, because it goes for the thread succesfully updated longest ago.

Anyway, here is a (probably) fixed version. Feel free to check it out:
https://www.dropbox.com/s/9mb4n5g9v14j05l/mal_tracker2.user.js?dl=0

The changed code is the fail handler at 315. If the connection is actually lost, the error code won't be 404, so that should be fine.
That worked quite well. What exactly did you change from the previous script that I had updated?
Jun 1, 2015 2:57 AM

Offline
Apr 2015
732
does this work on mobile?
im poor I dont have laptop or desktop

Hi
Jun 1, 2015 2:59 AM

Offline
Feb 2013
17582
Aeldrian said:
does this work on mobile?
im poor I dont have laptop or desktop
while i haven't actually tried it, it seems you can use scripts on mobile via tampermonkey, or opera mobile, so.. yeah =/
Jun 1, 2015 3:01 AM

Offline
Apr 2015
732
romagia said:
Aeldrian said:
does this work on mobile?
im poor I dont have laptop or desktop
while i haven't actually ytied it, it seems you can use scripts on mobile via tampermonkey, or opera mobile, so.. yeah =/
I dont what a greasemonkey is, mind explaining?, if u have the time?

Hi
Jun 1, 2015 3:03 AM

Offline
Feb 2013
17582
Aeldrian said:
romagia said:
while i haven't actually ytied it, it seems you can use scripts on mobile via tampermonkey, or opera mobile, so.. yeah =/
I dont what a greasemonkey is, mind explaining?, if u have the time?
the addon required to use scripts...
https://tampermonkey.net/
Jun 1, 2015 3:23 AM

Offline
Apr 2015
732
romagia said:
Aeldrian said:
I dont what a greasemonkey is, mind explaining?, if u have the time?
the addon required to use scripts...
https://tampermonkey.net/
thx ur very smart

Hi
Jun 1, 2015 6:09 AM
Offline
Sep 2014
11
Tyrel said:
newtonseple said:
I think I've managed to unstuck it!

It's just as you said, romagia. Apparently, that 404 thing stops AJAX from parsing the page at all, and makes it return a fail signal. Nice catch! In the past, that has usually meant connection problems, so the script just tries again next minute. Also it never checks any other threads, because it goes for the thread succesfully updated longest ago.

Anyway, here is a (probably) fixed version. Feel free to check it out:
https://www.dropbox.com/s/9mb4n5g9v14j05l/mal_tracker2.user.js?dl=0

The changed code is the fail handler at 315. If the connection is actually lost, the error code won't be 404, so that should be fine.
That worked quite well. What exactly did you change from the previous script that I had updated?

Have a look at the diff: http://www.diffnow.com/?report=atwbc. Specifically, "Diff 16" in that report. The rest is mainly log statements.

in the function queryTopic, the script makes an AJAX call to get the contents of a thread page. If that thread does not exist, the problems start. In the past, trying to access a nonexistant thread would not return a 404 error, so the call would return successfully, and thus the error handling was not really that important. As you can see, the old error handler (the .fail( function(errorInfo)) only contains the line
self.scheduleCheckNextTopic(true);
, which basically means "try again later". It would be called if, for example, the computer had been unplugged from the Internet while viewing the forums. It this case, that response is correct.

Currently, however, trying to access a nonexistant thread gives you a 404 error and redirects to the main page. This means that the AJAX call will fail both if you are disconnected AND if the thread has been deleted. So we need some selective error handling:
if(errorInfo.status === 404){
    delete self.topicCache[topicInfo.topicId];
    self.saveTopicCache();
         
    self.scheduleCheckNextTopic(false);
} else {
    self.scheduleCheckNextTopic(true);
}

That's the new handler, sans log statements. If the error was 404, the thread is probably gone, and needs to be removed from tracking. Otherwise, the scripts queueing system would get stuck, as that particular thread would be queried again and again.
As a generic error response, it will still try again later. Otherwise, all the threads would be untracked upon connection problems, and that would be bad.

A final note: the script was pretty well structured from the start, so adding a new event type for "thread deleted" (rendered with red background, for example) shouldn't be that hard. I suppose that would be a more ideal handling, rather than just silently removing the thread.
Jun 13, 2015 1:45 AM

Offline
Jan 2013
14361
So is this still down or what
Jun 13, 2015 2:06 AM

Offline
Sep 2011
9882
Yep. Doesn't work again xD... LOL

(Working again...)
TyrelJun 13, 2015 9:46 AM
Jun 30, 2015 8:31 PM

Offline
Nov 2010
4482
Ummm, I don't know how long has it been, but I've been living without this script of a long time now. I need it to work again ><
Jul 15, 2015 2:00 PM

Offline
Feb 2013
17582
Kinkara said:
Ummm, I don't know how long has it been, but I've been living without this script of a long time now. I need it to work again ><
16 days late to the party, but newtonseple's version (post #82) works for me ..
Aug 15, 2015 8:35 PM

Offline
Nov 2014
62
This looks complicated. How to use these scripts? ._.
Sep 8, 2015 2:23 AM

Offline
Oct 2009
7735
nokitron said:
This looks complicated. How to use these scripts? ._.

Install Greasemonkey (for Firefox), Tampermonkey (For Chrome) or Violentmonkey (for newer versions of Opera)
Dec 12, 2015 7:20 AM

Offline
May 2013
1289
Anyone else's Top list highlighter not working as it used to?
http://prntscr.com/9daywa
It now only highlights a small border around the thumbnail.

If anyone knows any way to fix this, please tell me!
Dec 12, 2015 9:46 PM

Offline
Jun 2013
1094
Eucli said:
Anyone else's Top list highlighter not working as it used to?
http://prntscr.com/9daywa
It now only highlights a small border around the thumbnail.

If anyone knows any way to fix this, please tell me!

Totally forgot about this topic after I was away for a long time (Oct-May).

Anyway, since userscripts.org stopped working long ago, here's the updated Top List Highlighter:
http://sedmelluq.com/mal/mal_top_highlighter_v1.4.3.user.js

I'll fix the other scripts and update the first post soon.
sedmelluqDec 12, 2015 11:00 PM
If you generalize, you're wrong.
Dec 13, 2015 10:22 AM

Offline
Jun 2013
1094
Top list highlighter now also works for manga, all scripts fixed and links updated, added a new little script to make it remember stuff you've typed into a quick reply box for a thread but never posted.
If you generalize, you're wrong.
Dec 13, 2015 10:47 AM

Offline
May 2013
1289
Thank you so much! Awesome work man.
I really appreciate it!
Pages (3) « 1 [2] 3 »

More topics from this board

» 【 ART THREAD 】Let's share our art! ‪‪❤︎‬ ( 1 2 3 4 5 )

mewmewforever - Aug 30, 2024

209 by Absurdo_N »»
2 hours ago

» Four Ages!

Robert_SS_Gordon - Feb 21

47 by Robert_SS_Gordon »»
Sep 23, 9:17 AM

» AniTaste - cross-site anime list comparator

Mciej - Sep 21

1 by Retro8bit »»
Sep 21, 5:29 PM

» Saeryen's Songs!

Saeryen - Jul 25

5 by Saeryen »»
Sep 20, 1:54 PM

» Share Your YouTube Channel/Videos! ( 1 2 3 4 5 ... Last Page )

nin-tendo - Dec 16, 2022

584 by Senery »»
Sep 20, 10:01 AM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login