GithubHelp home page GithubHelp logo

mwil / wanikani-userscripts Goto Github PK

View Code? Open in Web Editor NEW
26.0 3.0 8.0 4.91 MB

Userscripts for the WaniKani.com website

License: GNU General Public License v3.0

JavaScript 84.88% CSS 10.90% Shell 0.07% Python 4.15%
wanikani wanikani-userscripts tampermonkey-script userscript japanese-study kanji japanese

wanikani-userscripts's People

Contributors

lupomikti avatar mwil avatar patarapolw avatar sinyaven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wanikani-userscripts's Issues

Keisei breaks Tampermonkey Scripts

In the past few days, none of my Tampermonkey userscripts were working on WaniKani, even though the extension and all the scripts were enabled. After debugging, I found the culprit to be the Keisei script. When that script alone is disabled, the rest of my userscripts work again as normal.

Please look into this; something must have changed recently, probably in the way WaniKani's site or Tampermonkey's extension works.

Does not work during reviews

When I am in reviews and click on "item info" and click on the context tab, it still shows context sentences and not similar kanji. However when not in reviews the script functions as it is supposed to.

Niai & Keisei: Icons is undefined error present for every use outside of the init function

Creating this to track an issue reported in the community thread. It seems that due to the nature of how Keisei and Niai are written, the functions added to the prototypes are unable to access the window object that is modified to have the Icons class on it resulting in the undefined errors but only when the user has no other scripts utilizing the Custom Icons library.

A potential solution is to pass in the window object to each closure. I'm unsure if this is the best approach though, and I am not very familiar with working with closures in javascript in the first place, else I might have foreseen and addressed this issue.

I posted a temporary fix users can do in the community thread.

Script No Longer Works on Firefox After Latest Update

Running Tampermonkey v4.13.616 on Firefox 91.0.1 on macOS Mojave.

After updating the script this week, it is no longer working. When I check Tampermonkey, it shows that the script is active on the page, but the phoenetic-semantic information is no longer displaying/loading on my lesson pages. Happens on both desktop and mobile (w/ Firefox Nightly for add-on support).

Is this a known issue? Any advice to troubleshoot?

諦 listed at "not on WK n/a" but it's L22 Give Up

LOVE your script and used it all the way through my WK. They should incorporate it into WK base.

The script has 諦 defined as Truth but "greyed out" as n/a, and it's correct that that meaning isn't included in WK.
But the kanji is included in L22 as 諦 Give Up.
It appears again "greyed out" in L27 締 Tighten.
image

Thanks.

[似合い] Request: order similar Kanji by level/availability

Right now, the list of similar Kanji feels rather random.
Kanji that are not yet unlocked are mixed between Kanjis that have been already learned.
This results in big eye jumps especially on large screens, making it a bit harder to spot differences between Kanji.

Proposal

Order list to show already learned items first, then locked ones after.
I can think of 2 ways:

  1. check if Kanji is yet unlocked, and if not, put it at the end
  2. order by WaniKani-level

Niai says 苺 is not in WK, when trying to add it to another kanji's page

When I try to add (Lvl 14 - Strawberry) to the list of similar kanji on another kanji's page, it says "Not in WK!" and won't let me add it to the page. I've tried this on multiple different kanji pages. I've also confirmed that I can add other kanji just fine. This one just seems to be missing for some reason.

'WaniKani Keisei Phonetic-Semantic Composition' script breaking other scripts

Hi, don't know if this script is still being updated, but thought I'd give it a shot

There seems to be an issue lately where users (including me!) are having all of their installed scripts break on Wanikani. Disabling the Phonetic-Semantic script and reloading the page fixes it.

Sometimes, you can then reenable the script and have everything work, but sometimes everything just breaks again (in my experience)-- like, I couldn't get the script working in my lessons a few days ago, but then yesterday I could, and now today I can't again.

Anyway, the script is been super useful when it works, so thank you for making it! I'll keep trying to use it even if it does keep breaking!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.