Kumirei's Userscripts

Hey! i know this isnt really the place to do this, but i wanted to make a post, but cant seem to find out how to do so! can anyone help me with this? i saw the “reply” button and took my chance to write in here lol
srry for bothering you guys

1 Like

No problem!

You can either go to a category and hit NEW TOPIC or press C anywhere

ViolentMonkey.

Out of curiosity, what scripts do you have installed for the forums? Do any of those import jQuery?

Both Discourse (WaniKani Community) and WaniKani website, use jQuery.

I use Tampermonkey on Kiwi Browser for Android, with no problems.

Looking in the console, once everything is loaded, $ is present (as a function) so I can only assume there’s a ordering dependency that’s accidentally met in most cases.

Violentmonkey does not work well on CSP strict websites, see

I think your best alternative would be to use Tampermonkey

2 Likes

Whoops, I’m being a dummy.

Thanks for the great extensions!

1 Like

Been using your forum updater script for a while and I was thinking “why isn’t it working?” then I realised it’s only for the “Latest” tab, is there any way to make it work for the “Catagories” tab? as that’s the one I spend the most time on. :eyes:.

Posting here as to not bump a 4 year old post since IDK if that’s frowned upon :p.
[Userscript] Automatically update the "Latest" page

1 Like

Sure! It will most likely be a while before I get to it, but I will put it on my list

1 Like

Turns out this is really only feasible if you’re comfortable with either

  1. The script clicks ALL such alerts
  2. It only works for English

Not sure if either is a good solution. It works well on the latest page because the element has a class identifying it as an alert for more topics

1 Like

I didn’t know that other alerts like this exist? :eyes: are you talking about notifications such as likes and replies also because I do like seeing those little blue icons.

That’s unfortunate considering the reason we’re using WK is to learn Japanese ahaha :joy:

1 Like

I think there might be alerts when you need to refresh the page or perhaps when there’s some kind of important message? I don’t know. I really only know that it’s marked as containing updated topics on the one page but not the other

1 Like

well if it’s gonna take you a lot of effort and there are potentially unwanted negative side effects that would just cause me / other people to revert to the old version then don’t worry about it.

It would have been nice if it could just work without any negatives :smiley: but life rarely goes so smoothly!

1 Like

I don’t think I am comfortable making it click on all such alerts, but if you are then I could just send you a version that does that

1 Like

If you’ve already made it then sure :slight_smile: that’s great, if you haven’t done the work yet, then don’t worry about it - only because I’m unsure what the extra alert could be :eyes: and I am wondering if it could be important.

1 Like

Actually, all you would need to do is remove .has-topics in two places in the script and I think it should work. It’s up to you if you want to do it or not

1 Like

okay :slight_smile: I’ll just ctrl+f it and find them then see how it goes!

edit: oh wait, that’s a short extension, no ctrl f needed LOL :smiley: .

1 Like

Haha, yeah. It’s very simple. Although I missed one place, so you need to remove it in three places, I think

1 Like

I think it’s working with just two removed, but hard to tell cause no one is posting lmao. - yup this post confirms that it’s working ^^ thanks.

1 Like

The first one only hides the alerts so that they don’t flash in and out of existence, so it’s not strictly necessary to remove. The other two, however, are necessary to remove for it to work on the categories page

1 Like