It may an ad blocker or a Privacy Badger like extension that’s not letting the script fetch the data from kanjidamage. Try disabling them and see if it still works.
Thank you! After turning off my ad blocker it works
ps: it works now … i dont understand the issue.
i like your script and the alternative mnemonics from Kanji Damage (KD).
Nevertheless, there seems to be some incompatibility.
For example, in the review/lesson for 有, the KD sections are empty despite the page existing on kanji damage:
That one example out of many in the kanji of lessons 5/6.
Could this be fixes, please? Many thanks in advance.
Does it work or not?
Your ps placing is confusing
This is amazing! So much so that, for the first time, I really want to install a user-script.
But then, having been directed to violentmonkey (which I understand I need in order to use these scripts), I see this and get a bit worried. I don’t want something on my computer that can do all this! What I’m asking is, is it safe? Thanks for any help or advice anyone can offer!
I use tampermonkey.
And if it couldn’t read websites, userscripts wouldn’t be able to modify them
Thank you! I got the wrong monkey! And what a wonderful script you have created!
i added the post-scriptum because the expected sections appeared, for the same kanji that was failing before.
I’ve edited the script and added three features:
- I noticed that the scripts really slows down the website (since it makes multiple requests to the same pages). I’ve added asynchronous requests and cached them.
- I added links to the kanjidamage page, since I found myself looking for them multiple times.
- Fixed the script to work on the review page.
I’d be happy to share the changes with you.
By all means please!
The userscript is on GitHub, so just send a pull request and I’ll be happy to merge it.
Sent the pull request.
where is this? I already had it print in the console
In the heading of “KanjiDamage X Mnemonic”, the KanjiDamage is a link to the page
I love it. Thanks, it helped me greatly today.